:root {
  --bg: #edf1f6;
  --surface: #ffffff;
  --line: #d8e0ea;
  --ink: #17263a;
  --muted: #617185;
  --brand-950: #091527;
  --brand-900: #12243b;
  --brand-700: #1f4a70;
  --accent: #ff8a3c;
  --accent-strong: #f97316;
  --success: #119566;
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% -6%, rgba(67, 130, 178, 0.15), transparent 30%),
    radial-gradient(circle at 92% 18%, rgba(255, 138, 60, 0.13), transparent 26%),
    var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
}

.container {
  width: min(1240px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(237, 241, 246, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.top-strip {
  text-align: center;
  color: #dce7f3;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--brand-900), #18314f, var(--brand-900));
  border-bottom: 1px solid #28476d;
  padding: 0.58rem 0.8rem;
}

.header-main {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.64rem;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  background: linear-gradient(130deg, var(--brand-900), var(--brand-700));
}

.brand-text {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2rem;
  line-height: 1;
  color: var(--brand-950);
  letter-spacing: 0.03em;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.main-nav a {
  padding: 0.48rem 0.64rem;
  border-radius: 10px;
  color: #51637a;
  font-size: 0.92rem;
  font-weight: 700;
}

.main-nav a:hover,
.main-nav a.active {
  color: #16365a;
  background: #e3ebf6;
}

.btn {
  min-height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.9rem;
  font-size: 0.85rem;
  font-weight: 700;
}

.btn-accent {
  color: #fff;
  background: linear-gradient(120deg, var(--accent), var(--accent-strong));
  box-shadow: 0 10px 16px rgba(249, 115, 22, 0.24);
}

.btn-accent:hover {
  filter: brightness(1.06);
}

.menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
}

.menu-toggle span {
  display: block;
  width: 14px;
  height: 2px;
  margin: 3px auto;
  background: #2b3f57;
}

main {
  padding: 1.2rem 0 0;
}

.hero {
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 3% -12%, rgba(67, 130, 178, 0.25), transparent 36%),
    linear-gradient(140deg, #11263f, #183555 50%, #215882);
  box-shadow: 0 18px 30px rgba(10, 21, 40, 0.18);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
}

.hero-copy {
  padding: 2rem;
  color: #e8f0fa;
}

.kicker {
  margin: 0;
  color: #8ec3e4;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-weight: 800;
}

.hero-copy h1 {
  margin: 0.75rem 0 0;
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: clamp(2.2rem, 4.6vw, 4.2rem);
  line-height: 0.9;
  max-width: 12ch;
}

.hero-copy p {
  margin: 0.95rem 0 0;
  max-width: 54ch;
  color: #c5d5e6;
  line-height: 1.5;
}

.hero-actions {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.btn-outline {
  min-height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(220, 234, 248, 0.45);
  color: #dce9f6;
  padding: 0 0.9rem;
  font-size: 0.85rem;
  font-weight: 700;
}

.hero-points {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.hero-points span {
  border: 1px solid rgba(228, 241, 255, 0.25);
  background: rgba(227, 240, 255, 0.08);
  color: #dbe8f5;
  border-radius: 999px;
  padding: 0.34rem 0.66rem;
  font-size: 0.78rem;
  font-weight: 600;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.section {
  margin-top: 1.5rem;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 18px;
  padding: 1.2rem;
}

.section h2,
.section h1 {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 0.95;
  color: #132946;
  font-size: clamp(2rem, 3.5vw, 3rem);
}

.section p.lead {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.stats {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}

.stat-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f7fbff;
  padding: 0.7rem;
}

.stat-card strong {
  display: block;
  color: #17385d;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.6rem;
  line-height: 1;
}

.stat-card span {
  color: #607894;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.72rem;
  font-weight: 700;
}

.category-grid {
  margin-top: 0.95rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.65rem;
}

.category-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #f8fbff;
}

.category-card img {
  height: 130px;
  object-fit: cover;
}

.category-card div {
  padding: 0.65rem;
}

.category-card h3 {
  margin: 0;
  font-size: 1rem;
  color: #1b395d;
}

.category-card p {
  margin: 0.42rem 0 0;
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.4;
}

.filters {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr auto;
  gap: 0.55rem;
}

.input,
.select {
  min-height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0 0.75rem;
  color: #203a5a;
  font-size: 0.9rem;
}

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

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

.catalog-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.card-body {
  padding: 0.75rem;
}

.tag {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  padding: 0 0.5rem;
  border-radius: 999px;
  border: 1px solid #c6d8ea;
  background: #f2f8ff;
  color: #2c537a;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.catalog-card h3 {
  margin: 0.55rem 0 0;
  font-size: 1.03rem;
  color: #18395e;
  line-height: 1.25;
}

.catalog-card p {
  margin: 0.48rem 0 0;
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.42;
}

.meta-row {
  margin-top: 0.58rem;
  display: grid;
  gap: 0.22rem;
  font-size: 0.78rem;
  color: #4f6784;
}

.meta-row strong {
  color: #27496d;
}

.empty {
  margin-top: 1rem;
  border: 1px dashed #c4d4e5;
  border-radius: 12px;
  background: #f7fbff;
  color: #5f7995;
  text-align: center;
  padding: 1.2rem;
  font-weight: 600;
}

.detail-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

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

.panel img {
  height: 420px;
  object-fit: cover;
}

.panel-content {
  padding: 0.95rem;
}

.label-list {
  margin-top: 0.75rem;
  display: grid;
  gap: 0.45rem;
}

.label-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f7fbff;
  padding: 0.58rem;
  color: #46627f;
  font-size: 0.86rem;
}

.label-item strong {
  color: #1f3f63;
}

.info-note {
  margin-top: 0.75rem;
  border: 1px solid #b7d7c9;
  border-radius: 10px;
  background: #e8fbf2;
  color: #1a6a4d;
  padding: 0.6rem;
  font-size: 0.85rem;
}

.content-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

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

.text-card h3 {
  margin: 0;
  color: #1d3c61;
  font-size: 1.06rem;
}

.text-card p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.contact-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.form-grid {
  margin-top: 0.8rem;
  display: grid;
  gap: 0.5rem;
}

.form-grid input,
.form-grid textarea,
.form-grid select {
  min-height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.56rem 0.72rem;
  color: #203e61;
  font-size: 0.88rem;
  font-family: inherit;
}

.form-grid textarea {
  min-height: 95px;
  resize: vertical;
}

.site-footer {
  margin-top: 1.8rem;
  background: #132a45;
  color: #d3e4f5;
  border-top: 1px solid #27476f;
}

.footer-grid {
  padding: 1.2rem 0;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 0.9rem;
}

.footer-title {
  margin: 0;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #99c0e5;
  font-weight: 700;
}

.footer-copy {
  margin: 0.5rem 0 0;
  font-size: 0.84rem;
  color: #c0d7ee;
  line-height: 1.45;
}

.footer-links {
  margin-top: 0.48rem;
  display: grid;
  gap: 0.3rem;
  font-size: 0.84rem;
  color: #c4daef;
}

.footer-bottom {
  border-top: 1px solid #27476f;
  text-align: center;
  padding: 0.68rem;
  font-size: 0.73rem;
  color: #8eb1d5;
}

@media (max-width: 1024px) {
  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .menu-toggle {
    display: inline-block;
  }

  .header-main {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .main-nav {
    grid-column: 1 / -1;
    display: none;
    flex-direction: column;
    gap: 0.2rem;
    padding-bottom: 0.7rem;
  }

  .main-nav.open {
    display: flex;
  }

  .hero-grid,
  .detail-grid,
  .content-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-media img {
    min-height: 280px;
  }

  .panel img {
    height: 300px;
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filters {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(1240px, calc(100% - 1rem));
  }

  .hero-copy {
    padding: 1.2rem;
  }

  .section {
    padding: 0.95rem;
  }

  .category-grid,
  .catalog-grid,
  .stats,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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