/*
 * ВСЕ-КАССЫ — responsive design prototype
 * Tokens and blocks are intentionally framework-free so the styles can be
 * transferred into an Astra child theme without a build dependency.
 */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
}

@page {
  size: 1440px 9000px;
  margin: 0;
}

:root {
  --brand: #101368;
  --brand-dark: #090b49;
  --brand-soft: #f1f2ff;
  --accent: #fd940f;
  --accent-hover: #e88000;
  --accent-soft: #fff3e2;
  --teal: #50b4be;
  --teal-dark: #318d97;
  --teal-soft: #e9f7f8;
  --ink: #202638;
  --muted: #667085;
  --muted-light: #98a2b3;
  --line: #dfe3eb;
  --surface: #f7f8fb;
  --surface-blue: #f5f6ff;
  --white: #fff;
  --success: #16a36a;
  --danger: #d92d20;
  --container: 1280px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 8px 24px rgb(16 19 104 / 8%);
  --shadow-md: 0 18px 50px rgb(16 19 104 / 12%);
  --shadow-lg: 0 28px 80px rgb(16 19 104 / 18%);
  --transition: 180ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 144px;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.menu-is-open,
body.modal-is-open {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

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

img,
svg {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
p,
ul,
ol,
blockquote {
  margin-top: 0;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid rgb(80 180 190 / 45%);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--brand);
  border-radius: 8px;
  transform: translateY(-160%);
  transition: transform var(--transition);
}

.skip-link:focus {
  transform: translateY(0);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 11px;
  cursor: pointer;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  transition: color var(--transition), background var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

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

.button:active {
  transform: translateY(0);
}

.button--primary {
  color: var(--white);
  background: var(--accent);
  box-shadow: 0 10px 24px rgb(253 148 15 / 24%);
}

.button--primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 13px 28px rgb(253 148 15 / 30%);
}

.button--outline {
  color: var(--brand);
  background: transparent;
  border-color: rgb(16 19 104 / 28%);
}

.button--outline:hover {
  background: var(--brand-soft);
  border-color: var(--brand);
}

.button--ghost {
  color: var(--brand);
  background: var(--white);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.button--ghost:hover {
  border-color: var(--teal);
}

.button--large {
  min-height: 56px;
  padding-inline: 27px;
}

.button--wide {
  min-width: 244px;
}

.section {
  padding-block: 104px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 42px;
}

.section-heading h2,
.services__intro h2,
.consultation__content h2 {
  max-width: 850px;
  margin-bottom: 12px;
  color: var(--brand);
  font-size: clamp(34px, 3.2vw, 48px);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.section-heading p,
.services__intro > p,
.consultation__content > p {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
}

.section-kicker {
  display: block;
  margin-bottom: 13px;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-heading--center {
  justify-content: center;
  text-align: center;
}

.section-heading--center p {
  margin-inline: auto;
}

.text-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  padding-bottom: 6px;
  color: var(--brand);
  border-bottom: 1px solid rgb(16 19 104 / 22%);
  font-size: 14px;
  font-weight: 700;
  transition: color var(--transition), border-color var(--transition);
}

.text-link:hover {
  color: var(--accent-hover);
  border-color: var(--accent);
}

/* Header */

.site-header {
  position: relative;
  z-index: 100;
  background: var(--white);
}

.site-header::after {
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: rgb(16 19 104 / 8%);
  content: "";
}

.utility-bar {
  color: #e9eaff;
  background: var(--brand-dark);
  font-size: 12px;
}

.utility-bar__inner,
.utility-bar__group,
.utility-nav {
  display: flex;
  align-items: center;
}

.utility-bar__inner {
  min-height: 40px;
  justify-content: space-between;
}

.utility-bar__group {
  gap: 0;
}

.utility-bar__group > * {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  white-space: nowrap;
}

.utility-bar__brand {
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.utility-bar__brand span {
  color: var(--accent);
}

.utility-bar__status {
  gap: 8px;
  padding-left: 21px;
  margin-left: 21px;
  color: rgb(255 255 255 / 80%);
  border-left: 1px solid rgb(255 255 255 / 13%);
  font-weight: 650;
}

.utility-bar__status i {
  position: relative;
  width: 7px;
  height: 7px;
  background: #55d19b;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgb(85 209 155 / 12%);
}

.utility-bar__status i::after {
  position: absolute;
  inset: -5px;
  border: 1px solid rgb(85 209 155 / 62%);
  border-radius: 50%;
  content: "";
  animation: utility-pulse 2.1s ease-out infinite;
}

@keyframes utility-pulse {
  0% { opacity: 0.8; transform: scale(0.45); }
  70%, 100% { opacity: 0; transform: scale(1.25); }
}

.utility-bar__hours {
  padding-left: 19px;
  margin-left: 19px;
  color: rgb(255 255 255 / 66%);
  border-left: 1px solid rgb(255 255 255 / 13%);
}

.utility-bar__phone {
  margin-left: 23px;
  color: var(--white);
  font-size: 12.5px;
  font-weight: 750;
  letter-spacing: 0.005em;
  transition: color var(--transition);
}

.utility-bar__phone:hover {
  color: var(--accent);
}

.utility-bar__phone--support {
  color: #83d9e0;
}

.utility-nav {
  gap: 0;
}

.utility-nav a {
  padding-left: 22px;
  margin-left: 22px;
  color: rgb(255 255 255 / 76%);
  border-left: 1px solid rgb(255 255 255 / 13%);
  transition: color var(--transition);
}

.utility-nav a:hover {
  color: var(--white);
}

.header-main {
  background: var(--white);
}

.header-main__inner {
  display: grid;
  height: 104px;
  min-height: 104px;
  grid-template-columns: 226px minmax(330px, 1fr) 260px 176px;
  align-items: center;
  gap: 25px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brand);
  white-space: nowrap;
}

.brand__mark {
  width: 39px;
  height: 39px;
  color: var(--brand);
}

.brand__mark svg {
  width: 100%;
  height: 100%;
}

.brand__mark path {
  fill: none;
  stroke: var(--white);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand__name {
  font-size: 23px;
  font-weight: 850;
  letter-spacing: -0.055em;
}

.brand__name span {
  color: var(--accent);
  font-size: 16px;
  letter-spacing: -0.03em;
}

.brand--original {
  display: block;
  width: 226px;
}

.brand--original img {
  width: 226px;
  height: auto;
}

.header-search,
.mobile-search {
  position: relative;
  display: flex;
  height: 48px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.header-search:focus-within,
.mobile-search:focus-within {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgb(80 180 190 / 12%);
}

.header-search input,
.mobile-search input {
  min-width: 0;
  flex: 1;
  padding: 0 14px 0 17px;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
}

.header-search__placeholder {
  position: absolute;
  top: 50%;
  left: 17px;
  color: var(--muted-light);
  font-size: 14px;
  pointer-events: none;
  transform: translateY(-50%);
  transition: opacity var(--transition);
}

.header-search:focus-within .header-search__placeholder {
  opacity: 0;
}

.header-search input::placeholder,
.mobile-search input::placeholder {
  color: var(--muted-light);
}

.header-search button,
.mobile-search button {
  display: flex;
  width: 52px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--white);
  background: var(--brand);
  border: 0;
  cursor: pointer;
}

.header-proof {
  display: flex;
  min-height: 52px;
  align-items: center;
  gap: 12px;
  padding-left: 23px;
  border-left: 1px solid var(--line);
}

.header-proof__number {
  display: flex;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  color: var(--accent-hover);
  background: var(--accent-soft);
  border: 1px solid rgb(253 148 15 / 16%);
  border-radius: 14px;
  font-size: 20px;
  font-weight: 850;
  letter-spacing: -0.045em;
  align-items: center;
  justify-content: center;
}

.header-proof p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.42;
}

.header-proof strong {
  color: var(--brand);
  font-weight: 800;
}

.header-socials {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.header-socials > span {
  width: 60px;
  flex: 0 0 60px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
  text-align: right;
}

.header-socials > div {
  display: flex;
  gap: 8px;
}

.social-button {
  display: flex;
  width: 41px;
  height: 41px;
  flex: 0 0 41px;
  color: var(--white);
  border-radius: 12px;
  box-shadow: 0 8px 18px rgb(16 19 104 / 11%);
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.social-button:hover {
  box-shadow: 0 11px 24px rgb(16 19 104 / 16%);
  transform: translateY(-2px);
}

.social-button--max {
  background: linear-gradient(145deg, #5a8bff, #4059e8);
}

.social-button--max b {
  font-size: 8px;
  font-weight: 850;
  letter-spacing: -0.04em;
}

.social-button--telegram {
  background: #2aabee;
}

.social-button--telegram svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.cart-button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 0 5px 8px;
  color: var(--brand);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.cart-button__icon {
  position: relative;
  display: grid;
  width: 43px;
  height: 43px;
  background: var(--brand-soft);
  border-radius: 12px;
  place-items: center;
}

.cart-button__count {
  position: absolute;
  top: -6px;
  right: -6px;
  display: grid;
  min-width: 20px;
  height: 20px;
  padding-inline: 4px;
  color: var(--white);
  background: var(--accent);
  border: 2px solid var(--white);
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
  place-items: center;
}

.cart-button__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 13px;
}

.cart-button__copy small {
  color: var(--muted);
  font-size: 12px;
}

.navigation-row {
  position: relative;
  color: var(--white);
  background: var(--brand);
}

.navigation-row__inner {
  display: flex;
  min-height: 60px;
  align-items: center;
}

.catalog-button {
  align-self: stretch;
  display: inline-flex;
  width: 205px;
  min-width: 190px;
  flex: 0 0 205px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 0 24px;
  color: var(--white);
  background: var(--accent);
  border: 0;
  cursor: pointer;
  font-weight: 750;
  transition: background var(--transition);
}

.catalog-button:hover,
.catalog-button[aria-expanded="true"] {
  background: var(--accent-hover);
}

.catalog-button__chevron {
  width: 17px;
  height: 17px;
  margin-left: auto;
  transition: transform var(--transition);
}

.catalog-button[aria-expanded="true"] .catalog-button__chevron {
  transform: rotate(180deg);
}

.main-nav {
  display: flex;
  align-self: stretch;
  align-items: center;
  gap: 5px;
  margin-left: 18px;
}

.main-nav a {
  display: flex;
  height: 100%;
  align-items: center;
  padding-inline: 17px;
  color: rgb(255 255 255 / 88%);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: color var(--transition), background var(--transition);
}

.navigation-row__actions {
  display: flex;
  height: 60px;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.header-callback {
  display: inline-flex;
  width: 174px;
  height: 42px;
  min-height: 42px;
  align-items: center;
  gap: 9px;
  padding-inline: 18px;
  color: var(--white);
  background: rgb(255 255 255 / 8%);
  border: 1px solid rgb(255 255 255 / 29%);
  border-radius: 10px;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 750;
  transition: background var(--transition), border-color var(--transition);
}

.header-callback:hover {
  background: rgb(255 255 255 / 14%);
  border-color: rgb(255 255 255 / 55%);
}

.header-callback .icon {
  width: 17px;
  height: 17px;
}

.cart-button--nav {
  width: 142px;
  height: 60px;
  min-width: 142px;
  flex: 0 0 142px;
  gap: 10px;
  padding: 0 17px 0 19px;
  color: var(--white);
  border-right: 1px solid rgb(255 255 255 / 10%);
  border-left: 1px solid rgb(255 255 255 / 10%);
}

.cart-button--nav .cart-button__icon {
  width: 38px;
  height: 38px;
  color: var(--white);
  background: rgb(255 255 255 / 11%);
  border-radius: 10px;
}

.cart-button--nav .cart-button__count {
  border-color: var(--brand);
}

.cart-button--nav .cart-button__copy small {
  color: rgb(255 255 255 / 64%);
}

.main-nav a:hover {
  color: var(--white);
  background: rgb(255 255 255 / 7%);
}

.navigation-row__note {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  color: rgb(255 255 255 / 72%);
  font-size: 12px;
  white-space: nowrap;
}

.navigation-row__note span {
  width: 8px;
  height: 8px;
  background: #55d19b;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgb(85 209 155 / 12%);
}

.catalog-popover {
  position: absolute;
  z-index: 15;
  top: 100%;
  right: 0;
  left: 0;
  padding-block: 24px;
  color: var(--ink);
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

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

.catalog-popover__grid > a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid transparent;
  border-radius: 14px;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.catalog-popover__grid > a:hover {
  background: var(--brand-soft);
  border-color: rgb(16 19 104 / 15%);
  transform: translateY(-2px);
}

.catalog-popover__grid > a > .icon {
  width: 29px;
  height: 29px;
  color: var(--teal-dark);
}

.catalog-popover__grid span {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.catalog-popover__grid strong {
  color: var(--brand);
  font-size: 14px;
}

.catalog-popover__grid small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.menu-toggle,
.mobile-menu {
  display: none;
}

.icon-button {
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--brand);
  background: var(--brand-soft);
  border: 0;
  border-radius: 11px;
  cursor: pointer;
  place-items: center;
}

.menu-toggle__close {
  display: none;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__open {
  display: none;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__close {
  display: block;
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 0;
  background:
    radial-gradient(circle at 6% 30%, rgb(80 180 190 / 10%) 0, rgb(80 180 190 / 0%) 24%),
    radial-gradient(circle at 92% 18%, rgb(253 148 15 / 10%) 0, rgb(253 148 15 / 0%) 20%),
    linear-gradient(180deg, #f9f9ff 0%, #f3f5ff 100%);
}

.hero::before {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image: radial-gradient(rgb(16 19 104 / 18%) 0.8px, transparent 0.8px);
  background-size: 18px 18px;
  content: "";
  mask-image: linear-gradient(90deg, #000 0, transparent 45%, transparent 70%, #000 100%);
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 32px;
}

.hero__content {
  min-width: 0;
  flex: 1 1 55%;
  padding: 0 0 94px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 8px 13px;
  color: var(--brand);
  background: var(--white);
  border: 1px solid rgb(16 19 104 / 10%);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 8px;
  height: 8px;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--teal-soft);
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 24px;
  color: var(--brand);
  font-size: clamp(48px, 5vw, 70px);
  font-weight: 800;
  letter-spacing: -0.052em;
  line-height: 0.99;
}

.hero h1 em {
  position: relative;
  display: inline-block;
  color: var(--accent);
  font-style: normal;
  white-space: nowrap;
}

.hero h1 em::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 7px;
  opacity: 0.33;
  background: var(--accent);
  border-radius: 100%;
  content: "";
  transform: rotate(-1deg) scaleX(0.93);
}

.hero__lead {
  max-width: 670px;
  margin-bottom: 32px;
  color: #414b61;
  font-size: 19px;
  line-height: 1.58;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 28px;
}

.hero__checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 25px;
  padding: 0;
  margin-bottom: 0;
  list-style: none;
}

.hero__checks li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #445066;
  font-size: 13px;
  font-weight: 600;
}

.hero__checks .icon {
  width: 17px;
  height: 17px;
  padding: 3px;
  color: var(--white);
  background: var(--teal);
  border-radius: 50%;
  stroke-width: 3;
}

.hero__visual {
  position: relative;
  min-height: 555px;
  min-width: 480px;
  flex: 1 1 45%;
  align-self: end;
}

.hero__visual > img {
  position: absolute;
  z-index: 2;
  right: -58px;
  bottom: 8px;
  width: min(650px, 50vw);
  max-width: none;
}

.hero__halo {
  position: absolute;
  top: 55px;
  right: 0;
  width: 480px;
  height: 480px;
  background: rgb(255 255 255 / 52%);
  border: 1px solid rgb(255 255 255 / 90%);
  border-radius: 50%;
}

.hero__price-card {
  position: absolute;
  z-index: 3;
  right: 18px;
  bottom: 54px;
  display: flex;
  width: 192px;
  flex-direction: column;
  padding: 18px 20px;
  background: rgb(255 255 255 / 90%);
  border: 1px solid var(--white);
  border-radius: 17px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
}

.hero__price-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__price-card strong {
  margin-block: 4px 1px;
  color: var(--brand);
  font-size: 22px;
  letter-spacing: -0.03em;
}

.hero__price-card span {
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 700;
}

.hero-metrics {
  position: relative;
  z-index: 3;
  display: grid;
  margin-top: -12px;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border: 1px solid rgb(16 19 104 / 8%);
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -8px 35px rgb(16 19 104 / 6%);
}

.hero-metrics article {
  position: relative;
  display: flex;
  min-height: 114px;
  flex-direction: column;
  justify-content: center;
  padding: 24px 30px;
}

.hero-metrics article + article::before {
  position: absolute;
  top: 28px;
  bottom: 28px;
  left: 0;
  width: 1px;
  background: var(--line);
  content: "";
}

.hero-metrics strong {
  margin-bottom: 2px;
  color: var(--brand);
  font-size: 25px;
  letter-spacing: -0.035em;
}

.hero-metrics span {
  max-width: 200px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

/* Categories */

.categories {
  background: var(--white);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.category-card {
  position: relative;
  display: grid;
  min-height: 292px;
  overflow: hidden;
  grid-template-columns: 1fr 170px;
  align-items: center;
  gap: 20px;
  padding: 34px;
  background: var(--surface-blue);
  border: 1px solid rgb(16 19 104 / 7%);
  border-radius: var(--radius-lg);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.category-card::before {
  position: absolute;
  top: -90px;
  right: -75px;
  width: 255px;
  height: 255px;
  background: rgb(16 19 104 / 4%);
  border-radius: 50%;
  content: "";
}

.category-card:hover {
  border-color: rgb(16 19 104 / 14%);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.category-card--equipment {
  background: #f0fafa;
}

.category-card--kits {
  background: #fff7ec;
}

.category-card--services {
  background: #f4f2ff;
}

.category-card__icon {
  position: absolute;
  top: 27px;
  left: 31px;
  display: grid;
  width: 45px;
  height: 45px;
  color: var(--brand);
  background: var(--white);
  border-radius: 13px;
  box-shadow: var(--shadow-sm);
  place-items: center;
}

.category-card__content {
  position: relative;
  z-index: 2;
  display: flex;
  align-self: end;
  flex-direction: column;
  padding-top: 63px;
}

.category-card__content > strong {
  margin-bottom: 9px;
  color: var(--brand);
  font-size: 25px;
  letter-spacing: -0.03em;
}

.category-card__content > small {
  max-width: 340px;
  min-height: 49px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.category-card__content > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: var(--accent-hover);
  font-size: 13px;
  font-weight: 750;
}

.category-card__content > span .icon {
  width: 17px;
  transition: transform var(--transition);
}

.category-card:hover .category-card__content > span .icon {
  transform: translateX(4px);
}

.category-card__art {
  position: relative;
  z-index: 1;
  display: grid;
  width: 160px;
  height: 190px;
  align-self: end;
  place-items: center;
}

.mini-terminal {
  position: relative;
  display: block;
  width: 126px;
  height: 157px;
  background: linear-gradient(145deg, #25298c, #090b49);
  border-radius: 19px;
  box-shadow: 0 19px 28px rgb(16 19 104 / 20%);
  transform: rotate(5deg);
}

.mini-terminal::before {
  position: absolute;
  top: 19px;
  right: 15px;
  left: 15px;
  height: 62px;
  background: #effbfc;
  border-radius: 10px;
  content: "";
}

.mini-terminal::after {
  position: absolute;
  right: 32px;
  bottom: 20px;
  left: 32px;
  height: 25px;
  background: var(--accent);
  border-radius: 7px;
  content: "";
}

.mini-terminal i {
  position: absolute;
  z-index: 1;
  top: 36px;
  left: 31px;
  width: 50px;
  height: 6px;
  background: var(--teal);
  border-radius: 3px;
}

.mini-terminal b {
  position: absolute;
  z-index: 1;
  top: 54px;
  left: 31px;
  width: 65px;
  height: 7px;
  background: rgb(16 19 104 / 34%);
  border-radius: 3px;
}

.mini-scanner {
  position: relative;
  display: block;
  width: 92px;
  height: 127px;
  background: linear-gradient(145deg, #30348e, #111455);
  border-radius: 22px 22px 18px 18px;
  box-shadow: 0 18px 27px rgb(16 19 104 / 19%);
  transform: rotate(-8deg);
}

.mini-scanner::before {
  position: absolute;
  top: 17px;
  right: 12px;
  left: 12px;
  height: 48px;
  background: #e9f7f8;
  border: 5px solid #50b4be;
  border-radius: 13px;
  content: "";
}

.mini-scanner::after {
  position: absolute;
  right: 31px;
  bottom: -40px;
  width: 30px;
  height: 62px;
  background: #101368;
  border-radius: 5px 5px 14px 14px;
  content: "";
  transform: rotate(9deg);
  transform-origin: top;
}

.mini-box {
  position: relative;
  display: block;
  width: 132px;
  height: 112px;
  background: linear-gradient(145deg, #ffb346, #fd8b00);
  border-radius: 17px;
  box-shadow: 0 18px 27px rgb(253 148 15 / 25%);
  transform: rotate(3deg);
}

.mini-box::before {
  position: absolute;
  top: -25px;
  left: 20px;
  width: 92px;
  height: 58px;
  background: #101368;
  border-radius: 13px;
  content: "";
}

.mini-box::after {
  position: absolute;
  top: 49px;
  left: 36px;
  width: 60px;
  height: 12px;
  background: rgb(255 255 255 / 75%);
  border-radius: 6px;
  content: "";
}

.mini-gear {
  display: grid;
  width: 132px;
  height: 132px;
  color: var(--white);
  background: linear-gradient(145deg, #7065d5, #37308f);
  border: 16px dashed rgb(255 255 255 / 32%);
  border-radius: 50%;
  box-shadow: 0 18px 27px rgb(16 19 104 / 20%);
  font-size: 42px;
  place-items: center;
  transform: rotate(11deg);
}

/* Product cards */

.popular {
  background: var(--surface);
}

.section-heading--tabs {
  align-items: flex-end;
}

.filter-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.filter-tabs button {
  min-height: 38px;
  padding: 0 15px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  transition: color var(--transition), background var(--transition);
}

.filter-tabs button:hover,
.filter-tabs button.is-active {
  color: var(--brand);
  background: var(--brand-soft);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-card {
  position: relative;
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.product-card:hover {
  border-color: rgb(16 19 104 / 19%);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.product-card__top {
  position: absolute;
  z-index: 4;
  top: 14px;
  right: 14px;
  left: 14px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.badge {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 9px;
  border-radius: 7px;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.badge--orange {
  color: #b75e00;
  background: var(--accent-soft);
}

.badge--teal {
  color: #247882;
  background: var(--teal-soft);
}

.badge--violet {
  color: #5144a8;
  background: #efedff;
}

.product-card__tools {
  display: flex;
  gap: 6px;
}

.product-card__tools button {
  display: grid;
  width: 31px;
  height: 31px;
  padding: 0;
  color: var(--muted);
  background: rgb(255 255 255 / 90%);
  border: 1px solid var(--line);
  border-radius: 9px;
  cursor: pointer;
  place-items: center;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}

.product-card__tools button:hover,
.product-card__tools button.is-active {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: rgb(253 148 15 / 25%);
}

.product-card__tools .icon {
  width: 16px;
  height: 16px;
}

.product-card__image {
  display: grid;
  height: 245px;
  overflow: hidden;
  background: linear-gradient(180deg, #fafbff, #f4f5fa);
  place-items: center;
}

.product-card__image img {
  width: 100%;
  transition: transform 300ms ease;
}

.product-card:hover .product-card__image img {
  transform: scale(1.035);
}

.product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.product-card__type {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.product-card h3 {
  margin-bottom: 6px;
  color: var(--brand);
  font-size: 20px;
  letter-spacing: -0.025em;
}

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

.product-card__rating {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 15px;
  font-size: 12px;
}

.product-card__rating span,
.reviews-summary b {
  color: var(--accent);
  letter-spacing: 0.08em;
}

.product-card__rating span i {
  color: #d9dde6;
  font-style: normal;
}

.product-card__rating a {
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: rgb(102 112 133 / 30%);
  text-underline-offset: 3px;
}

.product-card ul {
  display: grid;
  gap: 6px;
  min-height: 53px;
  padding: 0;
  margin-bottom: 15px;
  color: #566176;
  font-size: 12px;
  list-style: none;
}

.product-card li {
  position: relative;
  padding-left: 14px;
}

.product-card li::before {
  position: absolute;
  top: 8px;
  left: 0;
  width: 5px;
  height: 5px;
  background: var(--teal);
  border-radius: 50%;
  content: "";
}

.stock {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 9px;
  color: var(--success);
  font-size: 12px;
  font-weight: 700;
}

.stock i {
  width: 7px;
  height: 7px;
  background: currentColor;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgb(22 163 106 / 11%);
}

.product-card__price {
  display: flex;
  min-height: 35px;
  align-items: baseline;
  gap: 9px;
  margin-top: auto;
  margin-bottom: 15px;
}

.product-card__price strong {
  color: var(--brand);
  font-size: 24px;
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.product-card__price del {
  color: var(--muted-light);
  font-size: 12px;
  white-space: nowrap;
}

.product-card__buy {
  width: 100%;
  min-height: 46px;
  font-size: 13px;
}

.product-card__buy.is-added {
  color: var(--brand);
  background: var(--teal-soft);
  box-shadow: none;
}

.popular__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-top: 30px;
}

.popular__footer p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
}

.popular__footer p > .icon {
  width: 31px;
  height: 31px;
  padding: 6px;
  color: var(--teal-dark);
  background: var(--teal-soft);
  border-radius: 9px;
}

.popular__footer p button {
  padding: 0;
  color: var(--brand);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: rgb(16 19 104 / 25%);
  text-underline-offset: 3px;
}

/* Advantages */

.advantages {
  background: var(--white);
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.advantage-grid article {
  padding: 29px 27px 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.advantage-grid article:hover {
  border-color: rgb(80 180 190 / 45%);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.advantage-grid__icon {
  display: grid;
  width: 50px;
  height: 50px;
  margin-bottom: 21px;
  color: var(--teal-dark);
  background: var(--teal-soft);
  border-radius: 15px;
  place-items: center;
}

.advantage-grid__icon .icon {
  width: 25px;
  height: 25px;
}

.advantage-grid article strong {
  display: block;
  margin-bottom: 8px;
  color: var(--brand);
  font-size: 18px;
}

.advantage-grid article p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

/* Quiz */

.quiz-section {
  padding-block: 50px 104px;
  background: var(--white);
}

.quiz {
  position: relative;
  display: flex;
  min-height: 550px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 5% 95%, rgb(80 180 190 / 32%) 0, transparent 34%),
    linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.quiz::before {
  position: absolute;
  top: -170px;
  left: -100px;
  width: 440px;
  height: 440px;
  border: 1px solid rgb(255 255 255 / 9%);
  border-radius: 50%;
  content: "";
}

.quiz__intro {
  position: relative;
  z-index: 1;
  display: flex;
  overflow: hidden;
  flex: 0 0 46%;
  flex-direction: column;
  padding: 54px 50px;
}

.quiz__label {
  align-self: flex-start;
  margin-bottom: 21px;
  padding: 7px 11px;
  color: #eff7ff;
  background: rgb(253 148 15 / 13%);
  border: 1px solid rgb(253 148 15 / 26%);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.quiz__intro h2 {
  max-width: 510px;
  margin-bottom: 17px;
  font-size: clamp(34px, 3vw, 44px);
  font-weight: 760;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.quiz__intro > p {
  max-width: 500px;
  color: rgb(255 255 255 / 69%);
  font-size: 15px;
}

.quiz__benefit {
  display: flex;
  max-width: 370px;
  flex-direction: column;
  margin-top: 12px;
  padding: 15px 18px;
  background: rgb(255 255 255 / 7%);
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 13px;
}

.quiz__benefit span {
  color: rgb(255 255 255 / 58%);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.quiz__benefit strong {
  margin-top: 4px;
  font-size: 13px;
}

.quiz__intro > img {
  position: absolute;
  right: -72px;
  bottom: -53px;
  width: 310px;
  opacity: 0.72;
  transform: rotate(-5deg);
}

.quiz__card {
  position: relative;
  z-index: 2;
  min-width: 0;
  flex: 1 1 auto;
  align-self: stretch;
  margin: 30px;
  padding: 35px 38px;
  color: var(--ink);
  background: var(--white);
  border-radius: 22px;
  box-shadow: 0 22px 55px rgb(0 0 0 / 18%);
}

.quiz__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.quiz__meta strong {
  color: var(--teal-dark);
}

.quiz__progress {
  height: 6px;
  overflow: hidden;
  margin-bottom: 32px;
  background: #eceef3;
  border-radius: 999px;
}

.quiz__progress span {
  display: block;
  width: 25%;
  height: 100%;
  background: linear-gradient(90deg, var(--teal), #74c8cf);
  border-radius: inherit;
  transition: width 300ms ease;
}

.quiz__card h3 {
  margin-bottom: 5px;
  color: var(--brand);
  font-size: 27px;
  letter-spacing: -0.03em;
}

.quiz__hint {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 13px;
}

.quiz__answers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.quiz__answers button {
  position: relative;
  min-height: 62px;
  padding: 12px 40px 12px 18px;
  color: #3a455a;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 11px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 650;
  text-align: left;
  transition: color var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.quiz__answers button::after {
  position: absolute;
  top: 50%;
  right: 16px;
  width: 17px;
  height: 17px;
  border: 1.5px solid #bdc3cf;
  border-radius: 50%;
  content: "";
  transform: translateY(-50%);
}

.quiz__answers button:hover {
  color: var(--brand);
  background: var(--brand-soft);
  border-color: rgb(16 19 104 / 22%);
}

.quiz__answers button.is-selected {
  color: var(--brand);
  background: var(--teal-soft);
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgb(80 180 190 / 10%);
}

.quiz__answers button.is-selected::after {
  background: var(--teal);
  border: 5px solid var(--teal-soft);
  box-shadow: 0 0 0 1.5px var(--teal);
}

.quiz__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 13px;
  margin-top: 28px;
}

.quiz__back {
  padding: 11px 5px;
  color: var(--muted);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.quiz__next {
  min-width: 145px;
}

.quiz__next:disabled {
  cursor: not-allowed;
  opacity: 0.5;
  transform: none;
}

.quiz-result h3 {
  font-size: 25px;
}

.quiz-result > p {
  color: var(--muted);
  font-size: 14px;
}

.quiz-result__summary {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  margin: 0 0 20px;
  list-style: none;
}

.quiz-result__summary li {
  padding: 6px 9px;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
}

.quiz-result__form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.quiz-result__form .field {
  width: calc(50% - 5px);
}

.quiz-result__form .button,
.quiz-result__form .consent,
.quiz-result__form .form-message {
  width: 100%;
}

.quiz__restart {
  margin-top: 13px;
  padding: 0;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-bottom: 1px dashed var(--muted-light);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

/* Services */

.services {
  background: var(--surface-blue);
}

.services__grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(540px, 1.28fr);
  align-items: start;
  gap: 80px;
}

.services__intro {
  position: sticky;
  top: 110px;
}

.services__intro h2 {
  margin-bottom: 18px;
}

.services__intro > p {
  margin-bottom: 28px;
}

.service-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: services;
}

.service-list li {
  display: grid;
  min-height: 124px;
  grid-template-columns: 58px 1fr 42px;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.service-list li:hover {
  border-color: rgb(80 180 190 / 44%);
  box-shadow: var(--shadow-sm);
  transform: translateX(5px);
}

.service-list li > span {
  display: grid;
  width: 48px;
  height: 48px;
  color: var(--accent-hover);
  background: var(--accent-soft);
  border-radius: 14px;
  font-size: 12px;
  font-weight: 850;
  place-items: center;
}

.service-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--brand);
  font-size: 18px;
}

.service-list p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
}

.service-list li > .icon {
  width: 22px;
  height: 22px;
  color: var(--muted-light);
  transition: color var(--transition), transform var(--transition);
}

.service-list li:hover > .icon {
  color: var(--teal-dark);
  transform: translateX(4px);
}

/* Reviews */

.reviews {
  background: var(--white);
}

.reviews-summary {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 17px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 13px;
}

.reviews-summary > strong {
  color: var(--brand);
  font-size: 30px;
  letter-spacing: -0.04em;
}

.reviews-summary span {
  display: flex;
  flex-direction: column;
}

.reviews-summary b {
  font-size: 12px;
}

.reviews-summary small {
  color: var(--muted);
  font-size: 9px;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.review-card {
  display: flex;
  min-height: 270px;
  flex-direction: column;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 35px rgb(16 19 104 / 5%);
}

.review-card__head {
  display: grid;
  grid-template-columns: 43px 1fr auto;
  align-items: center;
  gap: 12px;
}

.review-card__avatar {
  display: grid;
  width: 43px;
  height: 43px;
  color: var(--white);
  background: var(--brand);
  border-radius: 50%;
  font-size: 16px;
  font-weight: 800;
  place-items: center;
}

.review-card__avatar--teal {
  background: var(--teal-dark);
}

.review-card__avatar--orange {
  background: var(--accent);
}

.review-card__head div {
  display: flex;
  flex-direction: column;
}

.review-card__head strong {
  color: var(--brand);
  font-size: 14px;
}

.review-card__head small {
  color: var(--muted);
  font-size: 12px;
}

.review-card__stars {
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.05em;
}

.review-card blockquote {
  margin: 24px 0 20px;
  color: #3f495e;
  font-size: 14px;
  line-height: 1.68;
}

.review-card__tag {
  align-self: flex-start;
  margin-top: auto;
  padding: 6px 9px;
  color: var(--teal-dark);
  background: var(--teal-soft);
  border-radius: 7px;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* Consultation */

.consultation {
  padding-top: 55px;
  background: var(--white);
}

.consultation__panel {
  display: grid;
  overflow: hidden;
  grid-template-columns: minmax(380px, 0.82fr) minmax(500px, 1.18fr);
  align-items: stretch;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.consultation__visual {
  position: relative;
  min-height: 510px;
  overflow: hidden;
  background: linear-gradient(145deg, var(--teal-soft), #eaeaff);
}

.consultation__visual > img {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.consultation__status {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 24px;
  left: 24px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px 16px;
  background: rgb(255 255 255 / 90%);
  border: 1px solid rgb(255 255 255 / 90%);
  border-radius: 13px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
}

.consultation__status > span {
  width: 10px;
  height: 10px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgb(22 163 106 / 11%);
}

.consultation__status div {
  display: flex;
  flex-direction: column;
}

.consultation__status strong {
  color: var(--brand);
  font-size: 12px;
}

.consultation__status small {
  color: var(--muted);
  font-size: 12px;
}

.consultation__content {
  padding: 57px 64px;
  background: var(--white);
}

.consultation__content h2 {
  max-width: 620px;
  font-size: clamp(34px, 3.1vw, 46px);
}

.consultation__content > p {
  max-width: 630px;
}

.consultation-form {
  display: flex;
  flex-wrap: wrap;
  margin-top: 27px;
  gap: 13px;
}

.consultation-form .field {
  width: calc(50% - 6.5px);
}

.consultation-form .button,
.consultation-form .consent,
.consultation-form .form-message {
  width: 100%;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  color: #4e596e;
  font-size: 12px;
  font-weight: 700;
}

.field input {
  width: 100%;
  min-height: 52px;
  padding: 0 15px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: 0;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.field input:focus {
  background: var(--white);
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgb(80 180 190 / 11%);
}

.field input::placeholder {
  color: var(--muted-light);
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
}

.consent input {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  margin: 0;
  accent-color: var(--teal);
}

.form-message {
  min-height: 0;
  margin: 0;
  color: var(--success);
  font-size: 12px;
  font-weight: 650;
}

.form-message:empty {
  display: none;
}

/* Footer */

.prefooter {
  color: var(--white);
  background: var(--accent);
}

.prefooter__inner {
  display: flex;
  min-height: 118px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.prefooter__inner > div {
  display: flex;
  flex-direction: column;
}

.prefooter__inner span {
  color: rgb(255 255 255 / 75%);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.prefooter__inner strong {
  font-size: 22px;
  letter-spacing: -0.02em;
}

.prefooter__inner > a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 25px;
  font-weight: 850;
  letter-spacing: -0.03em;
}

.prefooter__inner > a .icon {
  width: 31px;
  height: 31px;
  padding: 6px;
  background: rgb(255 255 255 / 17%);
  border-radius: 9px;
}

.site-footer {
  padding: 72px 0 28px;
  color: rgb(255 255 255 / 66%);
  background: var(--brand-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr) 1.2fr;
  gap: 42px;
  padding-bottom: 58px;
}

.brand--footer {
  color: var(--white);
}

.brand--footer .brand__mark svg {
  color: var(--teal);
}

.footer-brand p {
  max-width: 295px;
  margin: 20px 0;
  font-size: 12px;
  line-height: 1.7;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.footer-badges span {
  padding: 5px 8px;
  color: rgb(255 255 255 / 75%);
  background: rgb(255 255 255 / 7%);
  border: 1px solid rgb(255 255 255 / 9%);
  border-radius: 6px;
  font-size: 9px;
  font-weight: 700;
}

.footer-nav,
.footer-contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}

.footer-nav > strong,
.footer-contacts > strong {
  margin-bottom: 8px;
  color: var(--white);
  font-size: 13px;
}

.footer-nav a,
.footer-contacts a,
.footer-contacts span,
.footer-contacts button {
  color: rgb(255 255 255 / 62%);
  font-size: 12px;
  transition: color var(--transition);
}

.footer-nav a:hover,
.footer-contacts a:hover,
.footer-contacts button:hover {
  color: var(--white);
}

.footer-contacts__phone {
  color: var(--white) !important;
  font-size: 17px !important;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.footer-contacts button {
  padding: 0;
  color: #ffbe65;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgb(255 190 101 / 36%);
  cursor: pointer;
  font-weight: 750;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding-top: 27px;
  border-top: 1px solid rgb(255 255 255 / 9%);
  font-size: 9px;
}

.footer-bottom div {
  display: flex;
  gap: 22px;
}

.footer-bottom a:hover {
  color: var(--white);
}

/* Modal */

.modal {
  position: fixed;
  z-index: 500;
  inset: 0;
  display: grid;
  padding: 22px;
  place-items: center;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  background: rgb(6 8 45 / 72%);
  border: 0;
  cursor: default;
  backdrop-filter: blur(5px);
}

.modal__dialog {
  position: relative;
  z-index: 1;
  width: min(430px, 100%);
  padding: 35px;
  background: var(--white);
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  animation: modal-in 180ms ease-out;
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 37px;
  height: 37px;
  padding: 0;
  color: var(--muted);
  background: var(--surface);
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  place-items: center;
}

.modal__icon {
  display: grid;
  width: 51px;
  height: 51px;
  margin-bottom: 22px;
  color: var(--teal-dark);
  background: var(--teal-soft);
  border-radius: 15px;
  place-items: center;
}

.modal__icon .icon {
  width: 25px;
  height: 25px;
}

.modal h2 {
  margin-bottom: 9px;
  color: var(--brand);
  font-size: 30px;
  letter-spacing: -0.035em;
}

.modal__dialog > p {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 13px;
}

.modal form {
  display: grid;
  gap: 13px;
}

.prototype-toast {
  position: fixed;
  z-index: 700;
  right: 22px;
  bottom: 22px;
  max-width: min(360px, calc(100% - 32px));
  padding: 14px 18px;
  color: var(--white);
  background: var(--brand-dark);
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  font-size: 12px;
  font-weight: 650;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity var(--transition), transform var(--transition);
}

.prototype-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */

@media (max-width: 1180px) {
  .header-main__inner {
    grid-template-columns: auto minmax(220px, 1fr) auto auto;
    gap: 18px;
  }

  .header-proof {
    display: none;
  }

  .main-nav a {
    padding-inline: 10px;
    font-size: 13px;
  }

  .navigation-row__note {
    display: none;
  }

  .hero__visual > img {
    right: -95px;
  }

  .hero__visual {
    min-width: 420px;
  }

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

  .product-card__image {
    height: 280px;
  }

  .footer-grid {
    grid-template-columns: 1.4fr repeat(3, 1fr);
  }

  .footer-contacts {
    grid-column: 2 / -1;
    display: grid;
    grid-template-columns: repeat(4, auto);
    align-items: center;
  }

  .footer-contacts > strong {
    grid-column: 1 / -1;
  }
}

@media (max-width: 980px) {
  html {
    scroll-padding-top: 84px;
  }

  .utility-bar,
  .navigation-row,
  .header-search,
  .header-callback {
    display: none;
  }

  .site-header {
    position: sticky;
    top: 0;
    box-shadow: 0 8px 25px rgb(16 19 104 / 7%);
  }

  .header-main__inner {
    min-height: 76px;
    grid-template-columns: 44px 1fr auto;
    gap: 14px;
  }

  .menu-toggle {
    display: grid;
  }

  .brand {
    justify-self: start;
  }

  .brand--original,
  .brand--original img {
    width: 190px;
  }

  .cart-button__copy {
    display: none;
  }

  .mobile-menu {
    position: fixed;
    z-index: 90;
    top: 76px;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    overflow-y: auto;
    background: var(--white);
    border-top: 1px solid var(--line);
  }

  .mobile-menu__inner {
    padding-block: 22px 40px;
  }

  .mobile-search {
    margin-bottom: 20px;
  }

  .mobile-menu nav {
    display: grid;
  }

  .mobile-menu nav a {
    display: flex;
    min-height: 54px;
    align-items: center;
    justify-content: space-between;
    color: var(--brand);
    border-bottom: 1px solid var(--line);
    font-size: 15px;
    font-weight: 700;
  }

  .mobile-menu nav .icon {
    width: 18px;
    color: var(--muted-light);
  }

  .mobile-menu__contact {
    display: flex;
    flex-direction: column;
    margin-top: 24px;
    padding: 20px;
    background: var(--surface-blue);
    border-radius: 15px;
  }

  .mobile-menu__contact > a {
    color: var(--brand);
    font-size: 21px;
    font-weight: 800;
  }

  .mobile-menu__contact > span {
    margin: 2px 0 15px;
    color: var(--muted);
    font-size: 12px;
  }

  .hero {
    padding-top: 58px;
  }

  .hero__grid {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }

  .hero__content {
    max-width: 770px;
    padding-bottom: 20px;
  }

  .hero__visual {
    min-height: 520px;
    min-width: 0;
    width: 100%;
    flex-basis: auto;
  }

  .hero__visual > img {
    right: 50%;
    width: min(660px, 86vw);
    transform: translateX(50%);
  }

  .hero__halo {
    right: 50%;
    transform: translateX(50%);
  }

  .hero__price-card {
    right: 10%;
  }

  .hero-metrics article {
    padding-inline: 20px;
  }

  .category-card {
    grid-template-columns: 1fr 130px;
    padding: 28px;
  }

  .category-card__art {
    width: 130px;
    transform: scale(0.88);
  }

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

  .quiz {
    flex-direction: column;
  }

  .quiz__intro {
    min-height: 375px;
    flex-basis: auto;
  }

  .quiz__intro > img {
    right: 0;
    bottom: -70px;
  }

  .quiz__card {
    margin-top: 0;
  }

  .services__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services__intro {
    position: static;
  }

  .consultation__panel {
    grid-template-columns: minmax(300px, 0.8fr) minmax(420px, 1.2fr);
  }

  .consultation__content {
    padding: 45px 38px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 32px, var(--container));
  }

  .section {
    padding-block: 70px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 28px;
  }

  .section-heading h2,
  .services__intro h2,
  .consultation__content h2 {
    margin-bottom: 10px;
    font-size: clamp(30px, 9vw, 39px);
  }

  .section-heading p,
  .services__intro > p,
  .consultation__content > p {
    font-size: 15px;
  }

  .section-heading--center {
    align-items: center;
  }

  .header-main__inner {
    gap: 10px;
  }

  .brand__mark {
    width: 35px;
    height: 35px;
  }

  .brand__name {
    font-size: 19px;
  }

  .brand__name span {
    font-size: 13px;
  }

  .brand--original,
  .brand--original img {
    width: 166px;
  }

  .cart-button {
    padding-left: 0;
  }

  .cart-button__icon {
    width: 41px;
    height: 41px;
  }

  .hero {
    padding-top: 42px;
  }

  .eyebrow {
    margin-bottom: 19px;
    font-size: 9px;
  }

  .hero h1 {
    margin-bottom: 19px;
    font-size: clamp(40px, 12vw, 53px);
    line-height: 1.02;
  }

  .hero h1 em::after {
    bottom: -5px;
    height: 5px;
  }

  .hero__lead {
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.55;
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero__actions .button {
    width: 100%;
  }

  .hero__checks {
    display: grid;
    gap: 9px;
  }

  .hero__visual {
    min-height: 395px;
    margin-inline: -16px;
  }

  .hero__visual > img {
    right: 50%;
    bottom: -15px;
    width: 495px;
  }

  .hero__halo {
    top: 22px;
    width: 330px;
    height: 330px;
  }

  .hero__price-card {
    right: 8px;
    bottom: 28px;
    width: 162px;
    padding: 13px 15px;
  }

  .hero__price-card strong {
    font-size: 18px;
  }

  .hero-metrics {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .hero-metrics article {
    min-height: 100px;
    padding: 19px 16px;
  }

  .hero-metrics article:nth-child(3)::before {
    display: none;
  }

  .hero-metrics article:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .hero-metrics strong {
    font-size: 21px;
  }

  .hero-metrics span {
    font-size: 12px;
  }

  .category-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .category-card {
    min-height: 230px;
    grid-template-columns: 1fr 115px;
    padding: 24px;
    border-radius: 18px;
  }

  .category-card__icon {
    top: 22px;
    left: 23px;
    width: 41px;
    height: 41px;
  }

  .category-card__content {
    padding-top: 54px;
  }

  .category-card__content > strong {
    font-size: 21px;
  }

  .category-card__content > small {
    min-height: 0;
    font-size: 12px;
  }

  .category-card__content > span {
    margin-top: 15px;
  }

  .category-card__art {
    width: 115px;
    height: 150px;
    transform: scale(0.73);
  }

  .section-heading--tabs {
    gap: 18px;
  }

  .filter-tabs {
    width: 100%;
  }

  .filter-tabs button {
    min-width: 0;
    flex: 1;
    padding-inline: 6px;
  }

  .product-grid {
    display: flex;
    width: calc(100% + 16px);
    overflow-x: auto;
    gap: 13px;
    padding: 2px 16px 20px 0;
    scroll-padding-left: 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .product-grid::-webkit-scrollbar {
    display: none;
  }

  .product-card {
    width: min(84vw, 330px);
    flex: 0 0 min(84vw, 330px);
    scroll-snap-align: start;
  }

  .product-card__image {
    height: 235px;
  }

  .popular__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .popular__footer .button {
    width: 100%;
  }

  .popular__footer p {
    align-items: flex-start;
  }

  .advantage-grid {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .advantage-grid article {
    position: relative;
    display: block;
    min-height: 112px;
    padding: 20px 20px 20px 82px;
  }

  .advantage-grid__icon {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 48px;
    height: 48px;
    margin-bottom: 0;
  }

  .advantage-grid article strong {
    margin-bottom: 4px;
    font-size: 16px;
  }

  .advantage-grid article p {
    font-size: 12px;
  }

  .quiz-section {
    padding-top: 25px;
  }

  .quiz {
    margin-inline: -4px;
    border-radius: 24px;
  }

  .quiz__intro {
    min-height: 375px;
    padding: 35px 26px;
  }

  .quiz__intro h2 {
    font-size: 32px;
  }

  .quiz__intro > img {
    right: -64px;
    width: 275px;
  }

  .quiz__benefit {
    max-width: 280px;
  }

  .quiz__card {
    margin: 0 12px 12px;
    padding: 27px 20px;
    border-radius: 17px;
  }

  .quiz__progress {
    margin-bottom: 25px;
  }

  .quiz__card h3 {
    font-size: 23px;
  }

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

  .quiz__answers button {
    min-height: 55px;
  }

  .quiz-result__form {
    flex-direction: column;
  }

  .quiz-result__form .field {
    width: 100%;
  }

  .services__grid {
    gap: 30px;
  }

  .services__intro .button {
    width: 100%;
  }

  .service-list li {
    min-height: 120px;
    grid-template-columns: 45px 1fr;
    gap: 14px;
    padding: 19px;
  }

  .service-list li > span {
    width: 43px;
    height: 43px;
  }

  .service-list li > .icon {
    display: none;
  }

  .service-list strong {
    font-size: 16px;
  }

  .service-list p {
    font-size: 12px;
  }

  .reviews-summary {
    align-self: flex-start;
  }

  .review-grid {
    display: flex;
    width: calc(100% + 16px);
    overflow-x: auto;
    gap: 13px;
    padding: 2px 16px 18px 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .review-grid::-webkit-scrollbar {
    display: none;
  }

  .review-card {
    width: min(86vw, 345px);
    flex: 0 0 min(86vw, 345px);
    scroll-snap-align: start;
  }

  .consultation {
    padding-top: 20px;
  }

  .consultation__panel {
    grid-template-columns: 1fr;
    border-radius: 24px;
  }

  .consultation__visual {
    min-height: 340px;
  }

  .consultation__content {
    padding: 34px 24px 38px;
  }

  .consultation-form {
    flex-direction: column;
  }

  .consultation-form .field {
    width: 100%;
  }

  .prefooter__inner {
    min-height: 156px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
  }

  .prefooter__inner strong {
    font-size: 18px;
  }

  .prefooter__inner > a {
    font-size: 22px;
  }

  .site-footer {
    padding-top: 55px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 37px 24px;
  }

  .footer-brand,
  .footer-contacts {
    grid-column: 1 / -1;
  }

  .footer-contacts {
    display: flex;
    align-items: flex-start;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-bottom div {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 430px) {
  .container {
    width: calc(100% - 28px);
  }

  .header-main__inner {
    grid-template-columns: 42px minmax(0, 1fr) 41px;
  }

  .brand {
    gap: 7px;
  }

  .brand__mark {
    width: 32px;
    height: 32px;
  }

  .brand__name {
    font-size: 17px;
  }

  .brand__name span {
    font-size: 12px;
  }

  .hero h1 {
    font-size: 41px;
  }

  .hero__visual {
    min-height: 360px;
  }

  .hero__visual > img {
    width: 455px;
  }

  .category-card {
    grid-template-columns: 1fr 90px;
    padding: 21px;
  }

  .category-card__art {
    width: 95px;
    transform: scale(0.63);
  }

  .product-grid,
  .review-grid {
    width: calc(100% + 14px);
    padding-right: 14px;
  }

  .quiz__intro > img {
    opacity: 0.48;
  }

  .review-card__head {
    grid-template-columns: 43px 1fr;
  }

  .review-card__stars {
    grid-column: 2;
  }

  .modal {
    align-items: end;
    padding: 0;
  }

  .modal__dialog {
    width: 100%;
    padding: 30px 22px calc(26px + env(safe-area-inset-bottom));
    border-radius: 22px 22px 0 0;
  }

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

  .footer-brand,
  .footer-contacts {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/*
 * Presentation layout v2
 * Visual language follows the approved /v1 direction, while section order,
 * copy and page scenario follow the supplied Figma frame (node 1:2).
 */

main {
  display: block;
}

.hero { order: 0; }
.popular { order: 1; }
.categories { order: 2; }
.quiz-section { order: 3; }
.services { order: 4; }
.reviews { order: 5; }
.consultation { order: 6; }
.prefooter { order: 7; }

.advantages,
.prefooter {
  display: none;
}

.hero {
  padding-top: 54px;
}

.hero__grid {
  min-height: 545px;
  gap: 58px;
}

.hero__visual {
  order: -1;
  min-width: 500px;
  min-height: 540px;
  flex: 0 0 43%;
}

.hero__visual > img {
  right: auto;
  bottom: 28px;
  left: 18px;
  width: 520px;
  filter: drop-shadow(0 24px 38px rgb(16 19 104 / 13%));
}

.hero__halo {
  top: 24px;
  right: auto;
  left: 0;
  width: 520px;
  height: 520px;
  background: linear-gradient(145deg, rgb(80 180 190 / 12%), rgb(16 19 104 / 8%));
  border-color: rgb(255 255 255 / 70%);
}

.hero__content {
  flex-basis: 57%;
  padding: 35px 0 82px;
}

.hero h1 {
  max-width: 730px;
  font-size: clamp(46px, 4.35vw, 62px);
  line-height: 1.03;
}

.hero h1 em {
  white-space: normal;
}

.hero__lead {
  max-width: 710px;
  font-size: 19px;
}

.hero__price-card {
  right: auto;
  bottom: 49px;
  left: 42px;
  width: 250px;
}

.hero__price-card strong {
  font-size: 18px;
}

.hero-metrics {
  margin-top: -2px;
}

.section {
  padding-block: 92px;
}

.popular {
  background: var(--white);
}

.popular .product-card__image {
  height: 235px;
}

.popular .product-card:nth-child(2) .product-card__image {
  background: linear-gradient(180deg, #f3fbfb, #eef6f7);
}

.popular .product-card:nth-child(3) .product-card__image {
  background: linear-gradient(180deg, #f8f6ff, #f0eeff);
}

.popular .product-card:nth-child(4) .product-card__image {
  background: linear-gradient(180deg, #fffaf1, #fff4e4);
}

.popular .product-card:nth-child(2) .product-card__image img {
  transform: scale(.96) rotate(-1.5deg);
}

.popular .product-card:nth-child(3) .product-card__image img {
  transform: scale(.93) rotate(1.5deg);
}

.popular .product-card:nth-child(4) .product-card__image img {
  transform: scale(.98) translateY(-2px);
}

.categories {
  background: var(--surface);
}

.category-card {
  min-height: 280px;
  background: var(--white);
  box-shadow: 0 10px 32px rgb(16 19 104 / 5%);
}

.category-card--equipment { background: #effafa; }
.category-card--kits { background: #fff7ec; }
.category-card--services { background: #f4f2ff; }

.quiz-section {
  padding-block: 92px;
  background: var(--white);
}

.quiz {
  min-height: 670px;
}

.quiz__intro {
  flex-basis: 42%;
  padding: 50px 46px;
}

.quiz__intro h2 {
  font-size: 39px;
}

.quiz__card {
  margin: 28px;
  padding: 32px 34px;
}

.quiz__progress span {
  width: 0;
}

.quiz__answers {
  gap: 9px;
}

.quiz__answers button {
  min-height: 57px;
  font-size: 12px;
}

.services {
  background: var(--surface-blue);
}

.service-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  position: relative;
  display: flex;
  min-height: 270px;
  flex-direction: column;
  padding: 30px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgb(16 19 104 / 4%);
}

.service-card > span {
  position: absolute;
  top: 25px;
  right: 26px;
  color: rgb(16 19 104 / 13%);
  font-size: 32px;
  font-weight: 850;
  letter-spacing: -.04em;
}

.service-card__icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 30px;
  color: var(--teal-dark);
  background: var(--teal-soft);
  border-radius: 14px;
  place-items: center;
}

.service-card__icon .icon {
  width: 23px;
  height: 23px;
}

.service-card h3 {
  max-width: 280px;
  margin-bottom: 9px;
  color: var(--brand);
  font-size: 19px;
  letter-spacing: -.025em;
  line-height: 1.2;
}

.service-card p {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.service-card a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  color: var(--accent-hover);
  font-size: 12px;
  font-weight: 760;
}

.service-card a .icon {
  width: 16px;
  height: 16px;
}

.reviews {
  background: var(--white);
}

.consultation {
  padding: 58px 0 100px;
  background: var(--white);
}

.site-footer {
  padding-top: 66px;
}

.utility-bar__phone span {
  margin-right: 6px;
  color: rgb(255 255 255 / 54%);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: .025em;
  text-transform: uppercase;
}

.header-callback {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 8px 20px rgb(253 148 15 / 20%);
}

.header-callback:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.product-card__tools {
  display: none;
}

.category-card__icon {
  display: grid;
  width: 45px;
  height: 45px;
  color: var(--brand);
  font-size: 20px;
  font-weight: 800;
  place-items: center;
}

.category-card__icon svg,
.service-card__icon svg {
  display: none;
}

.category-card--cash .category-card__icon::before { content: "▦"; }
.category-card--equipment .category-card__icon::before { content: "⌁"; }
.category-card--kits .category-card__icon::before { content: "◇"; }
.category-card--services .category-card__icon::before { content: "✦"; }

.service-card__icon::before {
  color: var(--teal-dark);
  font-size: 20px;
  font-weight: 850;
}

.service-card:nth-child(1) .service-card__icon::before { content: "✓"; }
.service-card:nth-child(2) .service-card__icon::before { content: "⌁"; }
.service-card:nth-child(3) .service-card__icon::before { content: "◆"; }
.service-card:nth-child(4) .service-card__icon::before { content: "₽"; }
.service-card:nth-child(5) .service-card__icon::before { content: "↻"; }
.service-card:nth-child(6) .service-card__icon::before { content: "▦"; }

.footer-contacts small {
  margin-bottom: -8px;
  color: rgb(255 255 255 / 40%);
  font-size: 8px;
  text-transform: uppercase;
}

.footer-contacts__phone--small {
  font-size: 14px !important;
}

.cart-button--mobile {
  display: none;
}

/* Responsive refinements for the Figma-based page order and custom artwork. */

@media (max-width: 1180px) {
  .utility-bar__phone span {
    display: none;
  }

  .hero__grid {
    gap: 32px;
  }

  .hero__visual {
    min-width: 420px;
  }

  .hero__visual > img {
    right: auto;
    left: 0;
    width: 450px;
  }

  .hero__halo {
    width: 450px;
    height: 450px;
  }

  .service-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-contacts {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
  }

  .footer-contacts > strong {
    width: 100%;
  }
}

@media (max-width: 980px) {
  .header-main__inner {
    display: flex;
    height: 76px;
    min-height: 76px;
    align-items: center;
    gap: 12px;
  }

  .header-socials {
    display: none;
  }

  .cart-button--mobile {
    display: flex;
    justify-self: end;
    margin-left: auto;
    padding: 0;
  }

  .brand--original {
    margin-right: auto;
  }

  .cart-button--mobile .cart-button__icon {
    width: 43px;
    height: 43px;
    color: var(--brand);
  }

  .hero {
    padding-top: 52px;
  }

  .hero__grid {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }

  .hero__content {
    order: -1;
    max-width: 780px;
    flex-basis: auto;
    padding: 8px 0 34px;
  }

  .hero__visual {
    order: 0;
    width: 100%;
    min-width: 0;
    min-height: 485px;
    flex-basis: auto;
  }

  .hero__visual > img {
    right: auto;
    bottom: 22px;
    left: 50%;
    width: 470px;
    transform: translateX(-50%);
  }

  .hero__halo {
    top: 16px;
    right: auto;
    left: 50%;
    width: 470px;
    height: 470px;
    transform: translateX(-50%);
  }

  .hero__price-card {
    right: auto;
    bottom: 42px;
    left: calc(50% - 220px);
    width: 235px;
  }

  .service-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .quiz {
    min-height: 0;
    flex-direction: column;
  }

  .quiz__intro {
    min-height: 390px;
    flex-basis: auto;
  }

  .quiz__card {
    margin-top: 0;
  }

  .footer-contacts {
    display: flex;
  }
}

@media (max-width: 760px) {
  .section {
    padding-block: 70px;
  }

  .hero {
    padding-top: 38px;
  }

  .hero__content {
    padding: 0 0 28px;
  }

  .hero h1 {
    max-width: 620px;
    margin-bottom: 19px;
    font-size: clamp(38px, 11vw, 50px);
    line-height: 1.02;
  }

  .hero__lead {
    margin-bottom: 24px;
    font-size: 16px;
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero__actions .button {
    width: 100%;
  }

  .hero__checks {
    display: grid;
    gap: 9px;
  }

  .hero__visual {
    min-height: 405px;
    margin-inline: -16px;
  }

  .hero__visual > img {
    bottom: 16px;
    width: 390px;
  }

  .hero__halo {
    top: 14px;
    width: 365px;
    height: 365px;
  }

  .hero__price-card {
    bottom: 34px;
    left: calc(50% - 174px);
    width: 218px;
    padding: 14px 16px;
  }

  .hero__price-card strong {
    font-size: 16px;
  }

  .hero-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-card {
    min-height: 230px;
  }

  .popular .product-card__image {
    height: 235px;
  }

  .quiz-section {
    padding-block: 48px 70px;
  }

  .quiz {
    min-height: 0;
  }

  .quiz__intro {
    min-height: 390px;
    padding: 35px 26px;
  }

  .quiz__intro h2 {
    font-size: 32px;
  }

  .quiz__card {
    margin: 0 12px 12px;
    padding: 27px 20px;
  }

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

  .quiz__answers button {
    min-height: 55px;
  }

  .service-card-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .service-card {
    min-height: 215px;
    padding: 25px;
  }

  .services .section-heading .button {
    width: 100%;
  }

  .consultation {
    padding: 20px 0 70px;
  }

  .site-footer {
    padding-top: 55px;
  }

  .footer-contacts {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .brand--original,
  .brand--original img {
    width: 145px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero__visual {
    min-height: 355px;
  }

  .hero__visual > img {
    width: 340px;
  }

  .hero__halo {
    width: 330px;
    height: 330px;
  }

  .hero__price-card {
    bottom: 26px;
    left: calc(50% - 155px);
    width: 205px;
  }

  .hero__price-card small,
  .hero__price-card span {
    font-size: 9px;
  }

  .section-heading h2,
  .consultation__content h2 {
    font-size: 31px;
  }

  .quiz__intro {
    min-height: 410px;
  }

  .quiz__intro h2 {
    font-size: 30px;
  }

  .consultation__visual {
    min-height: 300px;
  }

  .footer-grid {
    display: flex;
    flex-direction: column;
    gap: 34px;
  }

  .footer-brand,
  .footer-contacts {
    width: 100%;
  }
}

/* Compact sticky header: only the two slim desktop rows remain on scroll. */

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  z-index: 500;
  transition: box-shadow 280ms ease;
}

#main-content {
  padding-top: 204px;
}

.header-main {
  max-height: 104px;
  overflow: hidden;
  opacity: 1;
  transform: translateY(0);
  transform-origin: top;
  transition:
    max-height 380ms cubic-bezier(.22, 1, .36, 1),
    opacity 180ms ease,
    transform 380ms cubic-bezier(.22, 1, .36, 1),
    visibility 0s linear;
}

.site-header.is-compact {
  box-shadow: 0 12px 34px rgb(16 19 104 / 14%);
}

.site-header.is-compact .header-main {
  max-height: 0;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-14px);
  transition:
    max-height 380ms cubic-bezier(.22, 1, .36, 1),
    opacity 160ms ease,
    transform 380ms cubic-bezier(.22, 1, .36, 1),
    visibility 0s linear 380ms;
}

.site-header.is-compact .utility-bar {
  background: rgb(7 9 70 / 97%);
  backdrop-filter: blur(14px);
}

.site-header.is-compact .navigation-row {
  box-shadow: inset 0 1px rgb(255 255 255 / 8%);
}

.mobile-sticky-sales-phone {
  display: none;
}

@media (max-width: 980px) {
  #main-content {
    padding-top: 76px;
  }

  .site-header.is-compact .header-main {
    max-height: 64px;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    transition:
      max-height 320ms cubic-bezier(.22, 1, .36, 1),
      box-shadow 240ms ease;
  }

  .site-header.is-compact .header-main__inner {
    height: 64px;
    min-height: 64px;
  }

  .header-main__inner {
    gap: clamp(6px, 1.8vw, 12px);
  }

  .brand--original,
  .brand--original img {
    width: clamp(94px, 26vw, 150px);
  }

  .brand--original {
    flex: 0 1 auto;
    margin-right: 0;
  }

  .mobile-sticky-sales-phone {
    display: flex;
    min-width: 0;
    flex: 0 1 160px;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    margin-left: auto;
    color: var(--brand);
    line-height: 1.08;
  }

  .cart-button--mobile {
    flex: 0 0 auto;
    margin-left: 0;
  }

  .mobile-sticky-sales-phone small {
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .06em;
    text-transform: uppercase;
  }

  .mobile-sticky-sales-phone strong {
    font-size: clamp(11px, 3.1vw, 15px);
    font-weight: 820;
    letter-spacing: -.02em;
    white-space: nowrap;
  }

  .site-header.is-compact .mobile-menu {
    top: 64px;
  }
}

@media (max-width: 430px) {
  .header-main__inner {
    gap: 4px;
  }

  .brand--original,
  .brand--original img {
    width: 90px;
  }

  .mobile-sticky-sales-phone {
    flex-basis: 118px;
  }
}

@media (max-width: 350px) {
  .brand--original,
  .brand--original img {
    width: 76px;
  }

  .mobile-sticky-sales-phone {
    flex-basis: 94px;
  }

  .mobile-sticky-sales-phone small {
    display: none;
  }

  .mobile-sticky-sales-phone strong {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .header-main {
    transition: none;
  }
}
