:root {
  --bg: #f3f5f8;
  --bg-alt: #ffffff;
  --card: #ffffff;
  --border-subtle: rgba(148, 163, 184, 0.22);
  --accent: #1f3a5f;
  --accent-soft: rgba(31, 58, 95, 0.08);
  --accent-strong: #284b75;
  --text-main: #0b1220;
  --text-soft: #5b6475;
  --chip-bg: rgba(31, 58, 95, 0.08);
  --danger: #dc2626;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --shadow-soft: 0 24px 60px rgba(11, 18, 32, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 10px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #ffffff;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 10px 22px rgba(11, 18, 32, 0.10);
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-name {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.logo-subtitle {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-soft);
  letter-spacing: 0.2em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
}

.nav a {
  position: relative;
  color: #334155;
  padding: 4px 0;
  font-weight: 800;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  transition: width 0.2s ease-out;
}

.nav a:hover {
  color: var(--text-main);
}

.nav a:hover::after {
  width: 18px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(255, 255, 255, 0.95);
}

.lang-btn {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: #334155;
  font-size: 13px;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 0.15s ease-out, color 0.15s ease-out, border-color 0.15s ease-out;
}

.lang-btn:hover {
  color: var(--text-main);
  background: rgba(96, 165, 250, 0.12);
  border-color: rgba(96, 165, 250, 0.25);
}

.lang-btn.active,
.lang-btn[aria-pressed="true"] {
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  border-color: transparent;
}

.hero {
  padding: 78px 0 62px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 251, 255, 0.7));
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr);
  gap: 40px;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
}

.tagline {
  font-size: 16px;
  color: #334155;
  margin: 0 0 8px;
}

.subline {
  font-size: 14px;
  color: var(--text-soft);
  max-width: 560px;
  margin: 0 0 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.18s ease-out;
  white-space: nowrap;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  border-color: rgba(191, 219, 254, 0.6);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(29, 78, 216, 0.18);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(29, 78, 216, 0.22);
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.92);
  border-color: var(--border-subtle);
  color: #0f172a;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}

.btn.secondary:hover {
  background: #ffffff;
  border-color: rgba(148, 163, 184, 0.32);
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(15, 23, 42, 0.08);
}

.hero-card {
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  padding: 20px 18px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-card-section h3 {
  font-size: 15px;
  margin: 0 0 8px;
}

.hero-card-section ul {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  color: var(--text-soft);
}

.hero-card-section li + li {
  margin-top: 2px;
}

.hero-card-section p {
  margin: 0;
  font-size: 13px;
  color: var(--text-soft);
}

.section {
  padding: 62px 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.65);
}

.section h2 {
  font-size: 28px;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}

.section-intro {
  max-width: 640px;
  font-size: 14px;
  color: var(--text-soft);
  margin: 0 0 26px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr);
  gap: 32px;
  align-items: flex-start;
}

.section p {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.7;
}

.section p + p {
  margin-top: 8px;
}

.info-panel {
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  padding: 18px 18px 14px;
  box-shadow: var(--shadow-soft);
}

.info-panel h3 {
  font-size: 15px;
  margin: 0 0 10px;
}

.info-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
}

.info-panel li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(148, 163, 184, 0.35);
}

.info-panel li:last-child {
  border-bottom: none;
}

.info-panel li span:first-child {
  color: var(--text-soft);
}

.info-panel li span:last-child {
  color: var(--text-main);
  text-align: right;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px;
}

.category-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: #ffffff;
  padding: 14px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out, border-color 0.18s ease-out;
}

.category-link,
.product-link {
  display: block;
}

.category-link:hover .category-card,
.product-link:hover .product-card,
.product-link:focus-visible .product-card,
.category-link:focus-visible .category-card {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 24px 54px rgba(15, 23, 42, 0.12);
}

.category-image {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.22);
  margin-bottom: 10px;
}

.category-image img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.category-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.category-card p {
  margin: 0;
  font-size: 13px;
  color: var(--text-soft);
}

.card {
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  padding: 18px 16px 16px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.card-media {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: linear-gradient(180deg, #eff6ff, #f8fafc);
  margin: 0 0 12px;
}

.card-media img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.card h3 {
  font-size: 16px;
  margin: 0 0 8px;
}

.card p {
  font-size: 13px;
  color: var(--text-soft);
  margin: 0 0 10px;
}

.card-list {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  color: var(--text-soft);
}

.card-list li + li {
  margin-top: 3px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.product-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: #ffffff;
  padding: 14px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  position: relative;
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out, border-color 0.18s ease-out;
}

.product-image {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.22);
  margin-bottom: 10px;
}

.product-image img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.product-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.product-card p {
  margin: 0;
  font-size: 13px;
  color: var(--text-soft);
  padding-right: 88px;
}

.product-tag {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 5px 10px;
  font-size: 12px;
  border-radius: var(--radius-pill);
  color: #f9fafb;
  border: 1px solid rgba(191, 219, 254, 0.35);
  background: linear-gradient(135deg, #1d4ed8, #4338ca);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.35);
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  box-shadow: 0 8px 18px rgba(11, 18, 32, 0.08);
}

.contact-details {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.contact-item .label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-soft);
}

.contact-item .value {
  font-size: 14px;
}

.contact-item a {
  color: #93c5fd;
}

.contact-item a:hover {
  text-decoration: underline;
}

.contact-form-card {
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.25);
  padding: 18px 18px 16px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
}

.contact-form-card h3 {
  font-size: 15px;
  margin: 0 0 6px;
}

.contact-note {
  font-size: 12px;
  color: var(--text-soft);
  margin: 0 0 14px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.field label {
  font-size: 13px;
  color: var(--text-main);
}

.field input,
.field textarea {
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.85);
  color: var(--text-main);
  padding: 8px 10px;
  font-size: 13px;
  outline: none;
  transition: border-color 0.15s ease-out, box-shadow 0.15s ease-out, background 0.15s ease-out;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(148, 163, 184, 0.75);
}

.field input:focus,
.field textarea:focus {
  border-color: #60a5fa;
  box-shadow: 0 0 0 1px rgba(96, 165, 250, 0.4);
  background: rgba(15, 23, 42, 1);
}

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.28);
  padding: 14px 0 18px;
  margin-top: 20px;
  background: radial-gradient(circle at bottom, rgba(15, 23, 42, 0.9), #020617);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: var(--text-soft);
}

.footer-sub {
  opacity: 0.9;
}

@media (max-width: 880px) {
  .header-inner {
    padding-top: 12px;
  }

  .nav {
    gap: 12px;
    font-size: 13px;
  }

  .hero {
    padding-top: 44px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-card {
    order: -1;
  }

  .split {
    grid-template-columns: minmax(0, 1fr);
  }

  .cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .category-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .nav {
    display: none;
  }

  .header-inner {
    gap: 10px;
  }

  .lang-switch {
    margin-left: auto;
  }

  .hero {
    padding-top: 32px;
  }

  .hero-inner {
    gap: 26px;
  }

  .section {
    padding: 34px 0;
  }

  .info-panel {
    padding: 14px 12px 10px;
  }

  .card {
    padding: 16px 14px 14px;
  }

  .contact-form-card {
    padding: 16px 14px 14px;
  }
}
