:root {
  --bg: #f6f9fc;
  --bg-warm: #eef5ff;
  --bg-muted: rgba(255, 255, 255, 0.72);
  --surface: #ffffff;
  --text: #1e293b;
  --text-muted: #64748b;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-soft: #dbeafe;
  --accent: #38bdf8;
  --accent-warm: #7dd3fc;
  --border: #e2e8f0;
  --shadow: 0 12px 40px rgba(37, 99, 235, 0.07);
  --shadow-soft: 0 4px 20px rgba(15, 23, 42, 0.04);
  --font-display: "Manrope", "Segoe UI", sans-serif;
  --font-body: "Onest", "Segoe UI", sans-serif;
  --font-nums: "Manrope", "Segoe UI", sans-serif;
  --radius: 18px;
  --container: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background-color: #f8fbff;
  background-image:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(56, 189, 248, 0.14), transparent 55%),
    radial-gradient(ellipse 60% 40% at 95% 5%, rgba(37, 99, 235, 0.1), transparent 50%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(125, 211, 252, 0.12), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 45%, #f3f8ff 100%);
  line-height: 1.65;
  min-height: 100vh;
  font-size: clamp(16px, 1.05vw, 18px);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2,
.logo__text strong,
.logo__tooltip-title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.hero__stats strong,
.price-item__tag,
.steps__num {
  font-family: var(--font-nums);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.contacts__company {
  font-family: var(--font-display);
  font-weight: 700;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.45;
  background-image: radial-gradient(rgba(37, 99, 235, 0.09) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.25));
}

.demo-banner {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 0.55rem 1rem;
  text-align: center;
  font-size: 0.92rem;
  color: var(--primary-dark);
  background: linear-gradient(90deg, #eff6ff 0%, #f0f9ff 50%, #eff6ff 100%);
  border-bottom: 1px solid #bfdbfe;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
}

.section {
  padding: 5rem 0;
}

.section--muted {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(239, 246, 255, 0.85) 100%);
  border-block: 1px solid rgba(226, 232, 240, 0.9);
  backdrop-filter: blur(4px);
}

.section__head {
  max-width: 720px;
  margin-bottom: 2.5rem;
}

.section__head h2 {
  margin: 0;
  font-size: clamp(32px, 3.5vw, 40px);
  font-weight: 700;
  line-height: 1.18;
}

.section__sub {
  margin: 1rem 0 0;
  color: var(--text-muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(135deg, #3b82f6 0%, #38bdf8 100%);
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(15px, 1vw, 16px);
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.22);
}

.btn:hover {
  text-decoration: none;
  filter: brightness(1.05);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.85);
  color: var(--primary-dark);
  border: 1px solid #bfdbfe;
  box-shadow: var(--shadow-soft);
}

.btn--sm {
  padding: 0.65rem 1rem;
  font-size: 15px;
}

.btn--full {
  width: 100%;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.header__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 4.5rem;
}

.nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  margin-left: auto;
}

.nav a {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.88rem;
  white-space: nowrap;
  line-height: 1.2;
}

.nav a:hover,
.nav a.is-active {
  color: var(--primary);
  text-decoration: none;
}

.header__cta {
  flex-shrink: 0;
}

.logo {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

.logo:hover,
.logo:focus-visible {
  text-decoration: none;
}

.logo__mark {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0;
  display: block;
  object-fit: contain;
  background: transparent;
  padding: 0;
  box-shadow: none;
  flex-shrink: 0;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo__text strong {
  font-size: 1.05rem;
  white-space: nowrap;
}

.logo__text small {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-family: var(--font-body);
  font-weight: 600;
}

/* В каталоге телефон убран из шапки — место под «Заявка» */
.page-catalog .header__cta {
  display: none;
}

.logo__tooltip {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 0;
  width: min(420px, calc(100vw - 2rem));
  display: grid;
  gap: 0.55rem;
  padding: 1.1rem 1.2rem;
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  border: 1px solid #dbeafe;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  pointer-events: none;
  z-index: 40;
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.45;
}

.logo__tooltip::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 1.1rem;
  width: 12px;
  height: 12px;
  background: #fff;
  border-left: 1px solid #dbeafe;
  border-top: 1px solid #dbeafe;
  transform: rotate(45deg);
}

.logo__tooltip-title {
  font-weight: 700;
  color: var(--primary-dark);
}

.logo:hover .logo__tooltip,
.logo:focus-visible .logo__tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.burger {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--surface);
  padding: 0.55rem;
  cursor: pointer;
}

.burger span {
  display: block;
  height: 2px;
  margin: 0.35rem 0;
  background: var(--text);
}

.hero {
  position: relative;
  padding: 4.5rem 0 5rem;
  overflow: hidden;
}

.hero--photo .hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(248, 251, 255, 0.94) 0%, rgba(248, 251, 255, 0.82) 42%, rgba(248, 251, 255, 0.55) 100%),
    url("../img/hero-laptops.jpg") center / cover no-repeat;
  z-index: 0;
}

.hero--photo::before,
.hero--photo::after {
  display: none;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(40px);
}

.hero::before {
  width: 320px;
  height: 320px;
  top: -80px;
  right: -60px;
  background: rgba(125, 211, 252, 0.35);
}

.hero::after {
  width: 260px;
  height: 260px;
  bottom: -40px;
  left: -40px;
  background: rgba(191, 219, 254, 0.4);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: stretch;
}

.hero__content h1 {
  margin: 0 0 1rem;
  max-width: 16em;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.22;
  letter-spacing: -0.02em;
  font-weight: 700;
  text-wrap: balance;
}

.hero__lead {
  margin: 0 0 1.75rem;
  font-size: clamp(16px, 1.1vw, 18px);
  font-weight: 500;
  color: var(--text-muted);
  max-width: 58ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero__stats li {
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid #dbeafe;
  box-shadow: var(--shadow-soft);
}

.hero__stats strong {
  display: block;
  font-family: var(--font-nums);
  font-size: 1.35rem;
  font-weight: 700;
}

.hero__stats span {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.hero__card {
  padding: 1.75rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  border: 1px solid rgba(219, 234, 254, 0.95);
  backdrop-filter: blur(8px);
}

.hero__card h2 {
  margin-top: 0;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.checklist li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.65rem;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 800;
}

.hero__note {
  margin: 0;
  padding: 1rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, #f0f9ff, #eff6ff);
  color: var(--text-muted);
  font-size: 0.95rem;
  border: 1px solid #dbeafe;
}

.visual-strip {
  padding: 0 0 3rem;
  margin-top: -1.5rem;
}

.visual-strip__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
}

.visual-strip__item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-soft);
}

.visual-strip__item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.visual-strip__item figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
}

.examples {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.example-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-soft);
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.example-card:hover,
.example-card:focus-visible {
  transform: translateY(-3px);
  border-color: #93c5fd;
  box-shadow: 0 14px 36px rgba(37, 99, 235, 0.14);
  outline: none;
}

.example-card > img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}

.example-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1rem 1.15rem 1.15rem;
  border-top: 3px solid #93c5fd;
  flex: 1;
}

.example-card__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.example-card__text {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.45;
  flex: 1;
}

.example-card__hint {
  margin-top: 0.35rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  opacity: 0.75;
  transition: opacity 0.2s ease;
}

.example-card:hover .example-card__hint,
.example-card:focus-visible .example-card__hint {
  opacity: 1;
}

.catalog-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 0.75rem;
}

.catalog-modal[hidden],
.catalog-modal[style*="display: none"],
.catalog-modal[style*="display:none"] {
  display: none !important;
}

.catalog-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(3px);
}

.catalog-modal__panel {
  position: relative;
  z-index: 1;
  width: min(1320px, 96vw);
  height: min(94vh, 980px);
  max-height: 94vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #dbeafe;
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.22);
  color: var(--text);
}

.catalog-dialog__head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.1rem 1.5rem 0.85rem;
  border-bottom: 1px solid #e2e8f0;
  background: linear-gradient(180deg, #f8fbff 0%, #fff 100%);
  flex-shrink: 0;
}

.catalog-dialog__head h3 {
  margin: 0.15rem 0 0.35rem;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

.catalog-dialog__lead {
  margin: 0;
  max-width: 80ch;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.catalog-dialog__close {
  flex-shrink: 0;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  background: #fff;
  color: var(--primary-dark);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.catalog-dialog__close:hover {
  background: #eff6ff;
}

.catalog-dialog__body {
  padding: 1rem 1.5rem 1.15rem;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
  min-height: 0;
}

.catalog-photos__title {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.catalog-photos__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.catalog-photos__grid figure {
  margin: 0;
  border-radius: 0.9rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e2e8f0;
}

.catalog-photos__grid img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}

.catalog-photos__grid figcaption {
  padding: 0.4rem 0.6rem 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.catalog-dialog__groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem 1rem;
}

.catalog-group {
  padding: 0.75rem 0.85rem;
  border-radius: 0.95rem;
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.9), rgba(255, 255, 255, 0.95));
  border: 1px solid #e8eef7;
}

.catalog-group h4 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.catalog-group ul {
  margin: 0;
  padding-left: 1.05rem;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.catalog-group li {
  margin-bottom: 0.2rem;
}

.catalog-dialog__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1.5rem 1rem;
  border-top: 1px solid #e2e8f0;
  background: #f8fbff;
  flex-shrink: 0;
}

.catalog-dialog__foot p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.catalog-card__status {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.02em;
}

.catalog-card__placeholder {
  margin: 0.75rem 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.catalog-card__items {
  margin: 0.65rem 0 0;
  padding-left: 1.05rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.catalog-teaser .btn,
.section--muted .btn {
  margin-top: 0.25rem;
}

#catalog-products[hidden] {
  display: none !important;
}

.catalog-block--products {
  scroll-margin-top: 5.5rem;
}

.catalog-block--products .catalog-block__head .btn {
  margin-bottom: 0.65rem;
}

.catalog-block--products .catalog-block__head h2 {
  margin-top: 0.15rem;
}

.catalog-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.85rem;
  border-bottom: 1px solid #eef2f7;
  transition: background 0.15s ease;
}

.catalog-row:last-child {
  border-bottom: 0;
}

.catalog-row__main {
  flex: 1;
  min-width: 0;
}

.catalog-row__name {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.3;
}

.catalog-row__meta {
  margin: 0.15rem 0 0;
  color: var(--text-muted);
  font-size: 0.76rem;
  line-height: 1.25;
}

.catalog-row__add {
  flex-shrink: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(4px);
  border: 0;
  border-radius: 0.5rem;
  padding: 0.35rem 0.65rem;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.15s ease, background 0.15s ease, visibility 0.15s ease;
}

.catalog-row:hover,
.catalog-row:focus-within {
  background: #f8fbff;
}

.catalog-row:hover .catalog-row__add,
.catalog-row:focus-within .catalog-row__add {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.catalog-row__add:hover,
.catalog-row__add:focus-visible {
  background: var(--primary-dark);
}

.catalog-row__add.is-added {
  background: #15803d;
}

@media (hover: none) {
  .catalog-row__add {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }
}

.catalog-section__list {
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  overflow: hidden;
}

.catalog-list__empty {
  margin: 0;
  padding: 0.85rem 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.cart-toggle {
  flex-shrink: 0;
  gap: 0.35rem;
}

.cart-toggle__count {
  display: inline-grid;
  place-items: center;
  min-width: 1.35rem;
  height: 1.35rem;
  margin-left: 0.15rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: #fff;
  color: var(--primary);
  font-size: 0.75rem;
  font-family: var(--font-nums);
  font-weight: 700;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  justify-content: flex-end;
}

.cart-drawer[hidden] {
  display: none !important;
}

.cart-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
}

.cart-drawer__panel {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-left: 1px solid #dbeafe;
  box-shadow: -12px 0 40px rgba(15, 23, 42, 0.12);
  overflow: auto;
}

.cart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  border-bottom: 1px solid #e2e8f0;
}

.cart-drawer__head h2 {
  margin: 0;
  font-size: 1.25rem;
}

.cart-drawer__list {
  padding: 1rem 1.2rem;
  display: grid;
  gap: 0.75rem;
  flex: 1;
}

.cart-empty {
  margin: 0;
  color: var(--text-muted);
}

.cart-row {
  padding: 0.85rem 0.9rem;
  border-radius: 0.9rem;
  border: 1px solid #e2e8f0;
  background: #f8fbff;
}

.cart-row strong {
  display: block;
  font-size: 0.95rem;
}

.cart-row__brand {
  display: block;
  margin-top: 0.2rem;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.cart-row__controls {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.65rem;
}

.cart-row__controls button {
  border: 1px solid #bfdbfe;
  background: #fff;
  border-radius: 0.55rem;
  min-width: 2rem;
  height: 2rem;
  cursor: pointer;
  font-weight: 700;
  color: var(--primary-dark);
}

.cart-row__remove {
  margin-left: auto;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  min-width: auto !important;
  padding: 0 0.65rem;
}

.cart-drawer__form {
  margin: 0;
  border-radius: 0;
  border: 0;
  border-top: 1px solid #e2e8f0;
  box-shadow: none;
}

.page-catalog .catalog-hero {
  padding: 3.5rem 0 2.5rem;
}

.page-catalog .catalog-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(28px, 3.5vw, 42px);
  max-width: 18em;
  text-wrap: balance;
}

.page-catalog .catalog-hero__lead {
  margin: 0;
  max-width: 62ch;
  color: var(--text-muted);
  font-size: clamp(16px, 1.1vw, 18px);
  font-weight: 500;
}

.catalog-sections {
  display: grid;
  gap: 1.25rem;
  padding-bottom: 4rem;
}

.catalog-block__head {
  margin-bottom: 1.25rem;
}

.catalog-block__head h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(24px, 2.5vw, 32px);
}

.catalog-block__head p {
  margin: 0;
  color: var(--text-muted);
  max-width: 60ch;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.catalog-card {
  margin: 0;
  padding: 1.15rem 1.2rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-soft);
}

.catalog-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.catalog-card p,
.catalog-card ul {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.catalog-card p {
  margin: 0;
}

.catalog-card ul {
  margin: 0.65rem 0 0;
  padding-left: 1.05rem;
}

.catalog-card li {
  margin-bottom: 0.2rem;
}

.catalog-org {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.catalog-org:hover,
.catalog-org:focus-visible {
  transform: translateY(-2px);
  border-color: #93c5fd;
  box-shadow: 0 14px 36px rgba(37, 99, 235, 0.12);
  outline: none;
}

.catalog-org__hint {
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
}

.catalog-note {
  margin-top: 1.5rem;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #f0f9ff, #eff6ff);
  border: 1px solid #dbeafe;
  color: var(--text-muted);
}

.catalog-note a {
  font-weight: 600;
}

.visual-strip--in-section {
  margin-top: 1.75rem;
  padding: 0;
}

.examples__photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.examples__photos figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-soft);
}

.examples__photos img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.examples__photos figcaption {
  padding: 0.55rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.examples__note {
  margin: 1.35rem 0 0;
  color: var(--text-muted);
}

.about__grid {
  display: grid;
  gap: 2rem;
}

.about__text {
  max-width: 760px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.cards {
  display: grid;
  gap: 1rem;
}

.cards--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 0.5rem;
}

.card p {
  margin: 0;
  color: var(--text-muted);
}

.directions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.direction {
  padding: 1.4rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #e2e8f0;
  border-left: 3px solid #93c5fd;
  box-shadow: var(--shadow-soft);
}

.direction h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.direction p {
  margin: 0;
  color: var(--text-muted);
}

.cabinets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.cabinet-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-soft);
}

.cabinet-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.cabinet-card__body {
  padding: 1.15rem 1.2rem 1.35rem;
}

.cabinet-card__body h3 {
  margin: 0 0 0.45rem;
}

.cabinet-card__body > p {
  margin: 0 0 0.75rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.cabinet-card__body ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.cabinet-card__body li {
  margin-bottom: 0.25rem;
}

.cabinets__note {
  margin: 1.5rem 0 0;
  color: var(--text-muted);
}

.section--photo {
  position: relative;
  overflow: hidden;
}

.section--photo__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(248, 251, 255, 0.92) 0%, rgba(248, 251, 255, 0.88) 100%),
    url("../img/servers-soft.jpg") center / cover no-repeat;
  opacity: 0.9;
  z-index: 0;
}

.section--photo .container {
  position: relative;
  z-index: 1;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.25rem 1.4rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-soft);
}

.steps__num {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #dbeafe, #eff6ff);
  color: var(--primary-dark);
  font-weight: 700;
  border: 1px solid #bfdbfe;
}

.steps h3 {
  margin: 0 0 0.35rem;
}

.steps p {
  margin: 0;
  color: var(--text-muted);
}

.prices__toolbar {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.input,
.select,
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 0.9rem;
  border: 1px solid var(--border);
  background: var(--surface);
  font: inherit;
}

.prices__list {
  display: grid;
  gap: 0.85rem;
}

.price-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-soft);
}

.price-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-top: 0.35rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.price-item__tag {
  display: inline-flex;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: rgba(29, 78, 216, 0.08);
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 700;
}

.price-item__actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.price-item h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
}

.prices__empty,
.prices__loading,
.prices__error {
  padding: 1.25rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px dashed var(--border);
  color: var(--text-muted);
}

.prices__hint {
  margin: 1.25rem 0 0;
  color: var(--text-muted);
}

.contacts__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.25rem;
}

.contacts__company {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 1rem;
}

.contacts__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.contacts__list li {
  display: grid;
  gap: 0.15rem;
  margin-bottom: 1rem;
}

.contacts__list span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.contacts__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.contact-form {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #dbeafe;
  box-shadow: var(--shadow);
}

.contact-form h3 {
  margin: 0 0 0.35rem;
}

.contact-form__note {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
  font-weight: 600;
  font-size: 0.92rem;
}

.footer {
  padding: 1.25rem 0 2rem;
  border-top: 1px solid #e2e8f0;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(6px);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.footer__inner p {
  margin: 0;
}

.footer__inner a {
  color: var(--primary-dark);
  font-weight: 600;
}

@media (max-width: 1100px) {
  .catalog-dialog__groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .hero__grid,
  .cards--3,
  .directions,
  .examples,
  .examples__photos,
  .cabinets,
  .visual-strip__grid,
  .contacts__grid,
  .prices__toolbar,
  .catalog-dialog__groups,
  .catalog-photos__grid,
  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .catalog-modal__panel {
    width: 96vw;
    height: 94vh;
  }

  .example-card > img {
    height: 180px;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    padding: 1rem;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
  }

  .nav.is-open {
    display: flex;
  }

  .cart-toggle {
    margin-left: auto;
  }

  .burger {
    display: block;
    margin-left: 0;
  }

  .header__cta {
    display: none;
  }

  .hero__stats {
    grid-template-columns: 1fr;
  }

  .price-item {
    grid-template-columns: 1fr;
  }

  .price-item__actions {
    justify-content: flex-start;
  }
}
