﻿:root {
  --bg: #0d1117;
  --bg-soft: #121a26;
  --card: #151f2c;
  --line: #2a3950;
  --text: #f4f7fb;
  --muted: #b5c3d6;
  --red: #e83434;
  --red-strong: #ff4747;
  --accent: #65d6ff;
  --radius: 18px;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 15% 10%, #1f2838 0, transparent 40%),
    radial-gradient(circle at 82% 22%, #2f1f22 0, transparent 35%),
    var(--bg);
  line-height: 1.6;
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.2));
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(13, 17, 23, 0.78);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand-logo-image {
  width: min(280px, 45vw);
  height: auto;
  display: block;
  border-radius: 6px;
}

.brand-fallback {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  font-family: "Sora", sans-serif;
  font-weight: 800;
  color: #fff;
  background: conic-gradient(from 130deg, var(--red), #111 70%, var(--red));
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.brand-text {
  font-family: "Sora", sans-serif;
  font-size: 1.65rem;
  letter-spacing: -0.03em;
}

.brand-text strong {
  color: var(--red-strong);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  opacity: 0.9;
}

.site-nav a:hover {
  opacity: 1;
  color: var(--accent);
}

.panel-link {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
}

.hero {
  padding: 76px 0 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  align-items: start;
}

.eyebrow,
.section-kicker {
  font-family: "Sora", sans-serif;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 10px;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.2;
  font-family: "Sora", sans-serif;
}

h1 {
  font-size: clamp(2rem, 4.2vw, 3.45rem);
  max-width: 18ch;
  margin-bottom: 14px;
}

.hero-copy {
  color: var(--muted);
  max-width: 52ch;
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(130deg, var(--red), #ff6c46);
}

.btn-ghost {
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-card,
.solution-card,
.product-card,
.contact-card {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 26px;
}

.hero-photo {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 14px;
}

.hero-card h2 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.hero-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.section {
  padding: 42px 0;
}

.section-title {
  font-size: clamp(1.55rem, 2.7vw, 2.3rem);
  margin-bottom: 18px;
}

.solution-grid,
.product-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.solution-card,
.product-card {
  padding: 20px;
}

.solution-card img,
.product-image {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.solution-card p,
.product-card p {
  margin: 8px 0 0;
  color: var(--muted);
}

.section-products {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.btn-small {
  padding: 9px 13px;
  border-radius: 10px;
}

.contact-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1.1fr 1fr;
}

.contact-card {
  padding: 20px;
  display: grid;
  gap: 8px;
}

.contact-card a {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

.contact-card a:hover {
  color: var(--accent);
}

.site-footer {
  padding: 20px 0 30px;
}

.footer-wrap {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
}

.footer-wrap a {
  color: var(--text);
  text-decoration: none;
}

.product-empty {
  grid-column: 1 / -1;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px dashed rgba(255, 255, 255, 0.25);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
}

.gallery-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery-grid img {
  width: 100%;
  height: 185px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 960px) {
  .hero-grid,
  .contact-grid,
  .solution-grid,
  .product-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px 14px;
  }

  .brand-text {
    font-size: 1.35rem;
  }

  .brand-logo-image {
    width: min(220px, 56vw);
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
}
