:root {
  --bg: #f4f8fc;
  --surface: rgba(255, 255, 255, 0.92);
  --text: #16324f;
  --muted: #677f99;
  --line: rgba(22, 50, 79, 0.08);
  --primary: #2878e0;
  --primary-deep: #12498f;
  --accent: #b7d8f9;
  --shadow: 0 16px 48px rgba(34, 79, 136, 0.12);
  --radius: 30px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Lato", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fbfdff 0%, var(--bg) 100%);
}

body,
input,
select,
button {
  font: inherit;
}

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

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

.page-aura {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 0% 0%, rgba(183, 216, 249, 0.42), transparent 26%),
    radial-gradient(circle at 100% 12%, rgba(40, 120, 224, 0.12), transparent 30%),
    radial-gradient(circle at 50% 100%, rgba(183, 216, 249, 0.2), transparent 28%);
}

.container {
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
}

.container--wide {
  width: min(1440px, calc(100% - 40px));
}

.section {
  padding: 72px 0;
}

.section--hero {
  padding-top: 88px;
  padding-bottom: 84px;
}

.section--catalog {
  padding-top: 68px;
  padding-bottom: 84px;
}

.section--cta {
  padding-top: 64px;
  padding-bottom: 72px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 252, 255, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.topbar__inner,
.topbar__contact,
.hero__actions,
.controls,
.brand-pills,
.catalog__summary,
.contact-cta__actions,
.footer__inner {
  display: flex;
  gap: 16px;
}

.topbar__inner,
.footer__inner,
.catalog__summary {
  justify-content: space-between;
  align-items: center;
}

.topbar__inner {
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand__mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary) 0%, #80b5f4 100%);
  color: white;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.brand__text {
  display: grid;
  gap: 2px;
}

.brand__text small,
.topbar__contact,
.hero__lead,
.catalog__summary,
.card__meta,
.spec-list,
.footer p,
.contact-cta p {
  color: var(--muted);
}

.topbar__contact {
  flex-wrap: wrap;
  justify-content: flex-end;
  font-weight: 700;
}

.hero__card,
.controls,
.catalog-card,
.contact-cta__card {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero__card,
.contact-cta__card {
  border-radius: 38px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(244, 248, 252, 0.95) 100%);
}

.hero__card {
  width: 100%;
  min-height: 520px;
  padding: 72px 72px 68px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__eyebrow,
.section-heading__eyebrow {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.contact-cta h2 {
  margin: 0;
  line-height: 1.04;
  max-width: none;
}

.hero h1 {
  font-size: clamp(2.8rem, 5vw, 4.9rem);
}

.hero__lead {
  margin: 22px 0 30px;
  max-width: 78ch;
  font-size: 1.15rem;
  line-height: 1.8;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

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

.btn--primary {
  background: linear-gradient(135deg, var(--primary) 0%, #5ea0ef 100%);
  color: white;
  box-shadow: 0 12px 28px rgba(40, 120, 224, 0.24);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
}

.section-heading {
  margin-bottom: 32px;
}

.section-heading h2 {
  font-size: clamp(2.2rem, 3vw, 3.4rem);
}

.controls {
  flex-wrap: wrap;
  align-items: end;
  padding: 26px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.9);
}

.field {
  display: grid;
  gap: 10px;
  flex: 1 1 320px;
  font-weight: 700;
}

.field input,
.field select {
  width: 100%;
  min-height: 58px;
  padding: 0 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
}

.brand-pills {
  flex-wrap: wrap;
  margin: 22px 0 16px;
}

.brand-pill,
.badge,
.chip {
  border-radius: 999px;
}

.brand-pill {
  padding: 13px 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.84);
  cursor: pointer;
  font-weight: 900;
}

.brand-pill.is-active {
  background: linear-gradient(135deg, var(--primary) 0%, #8dbcf4 100%);
  color: white;
}

.catalog__summary {
  flex-wrap: wrap;
  margin: 8px 0 24px;
}

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

.catalog-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.96);
}

.catalog-card__media {
  position: relative;
  min-height: 268px;
  padding: 22px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at top, rgba(183, 216, 249, 0.28), transparent 38%),
    linear-gradient(180deg, #fbfdff 0%, #eef5fc 100%);
}

.catalog-card__media img {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
}

.badge {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  color: var(--primary-deep);
  font-size: 0.78rem;
  font-weight: 900;
}

.catalog-card__body {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.card__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  font-size: 0.94rem;
  font-weight: 700;
}

.catalog-card h3 {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.45;
}

.price strong {
  font-size: 2rem;
  line-height: 1;
  color: var(--primary-deep);
}

.chip-row,
.card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  display: inline-flex;
  padding: 7px 12px;
  background: rgba(40, 120, 224, 0.08);
  color: var(--primary-deep);
  font-size: 0.82rem;
  font-weight: 700;
}

.btn--outline {
  background: #fff;
  border: 1px solid var(--line);
}

.card__actions .btn {
  flex: 1 1 150px;
}

.details {
  display: none;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.details.is-open {
  display: block;
}

.spec-list {
  margin: 0;
  padding-left: 18px;
  line-height: 1.7;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 52px 28px;
  border-radius: 30px;
  text-align: center;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
}

.contact-cta__card {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  padding: 34px;
}

.footer {
  padding: 16px 0 36px;
}

.footer__contact {
  display: grid;
  gap: 8px;
  justify-items: end;
  font-weight: 700;
}

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

@media (max-width: 920px) {
  .contact-cta__card {
    display: grid;
    grid-template-columns: 1fr;
  }

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

  .topbar__inner,
  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 0;
  }

  .footer__contact {
    justify-items: start;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 20px, 1220px);
  }

  .container--wide {
    width: min(100% - 20px, 1440px);
  }

  .section {
    padding: 52px 0;
  }

  .hero h1 {
    font-size: 2.55rem;
  }

  .hero__card,
  .contact-cta__card {
    padding: 24px;
  }

  .hero__card {
    min-height: auto;
  }

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

  .topbar__contact,
  .hero__actions,
  .contact-cta__actions {
    flex-direction: column;
  }
}
