.home-security {
  position: relative;
  width: 1920px;
  height: 1869px;
  margin-inline: auto;
  background: #fff;
  overflow: hidden;
}

.home-sec__header {
  position: absolute;
  top: 156.85px;
  left: 242px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 1415px;
}

.home-sec__title {
  margin: 0;
  font-family: "Manrope", Helvetica, sans-serif;
  font-weight: 600;
  font-size: 48px;
  letter-spacing: -0.96px;
  line-height: 48px;
  color: #000;
}

.home-sec__tagline {
  margin: 0;
  padding: 8px 12px;
  border-radius: 7px;
  background: #edebff;
  font-family: "Manrope", Helvetica, sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 18px;
  white-space: nowrap;
  color: #5e4ce0;
}

.home-sec__grid {
  position: absolute;
  top: 378px;
  left: 202px;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 495px);
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: 1517px;
  height: 1440.5px;
}

.home-sec__card {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 40px;
  border-radius: 15px;
  background: #fbfafe;
  box-shadow: 0 0 30px #7366bd;
}

.home-sec__card--registry {
  position: relative;
  grid-row: 1 / span 2;
  grid-column: 1;
  gap: 0;
  padding: 0;
  background: linear-gradient(180deg, #fbfafe 0%, #eff3ff 100%);
  overflow: hidden;
}

.home-sec__card--monitoring {
  grid-row: 1;
  grid-column: 2;
}

.home-sec__card--encryption {
  grid-row: 1;
  grid-column: 3;
}

.home-sec__card--access {
  grid-row: 2;
  grid-column: 2;
}

.home-sec__card--backup {
  grid-row: 2;
  grid-column: 3;
  background: #fff;
}

.home-sec__card--isolation {
  grid-row: 3;
  grid-column: 1;
}

.home-sec__card--updates {
  grid-row: 3;
  grid-column: 2;
}

.home-sec__card--infrastructure {
  grid-row: 3;
  grid-column: 3;
  box-shadow: 0 0 30px #43328a;
}

.home-sec__registry-watermark {
  position: absolute;
  top: 48px;
  left: 50%;
  z-index: 0;
  width: 592px;
  height: 333px;
  transform: translateX(-50%);
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.home-sec__registry-body {
  position: absolute;
  top: 398px;
  left: 40px;
  right: 40px;
  bottom: 40px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.home-sec__card-stack {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
}

.home-sec__icon {
  position: relative;
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 9px 15.3px rgba(53, 1, 112, 0.15);
}

.home-sec__icon img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.home-sec__icon--medal img {
  width: 45px;
  height: 45px;
}

.home-sec__icon--shield img,
.home-sec__icon--users img,
.home-sec__icon--refresh img,
.home-sec__icon--flag img,
.home-sec__icon--cloud img {
  width: 42px;
  height: 42px;
}

.home-sec__content {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
}

.home-sec__card-title {
  margin: 0;
  font-family: "Manrope", Helvetica, sans-serif;
  font-weight: 600;
  font-size: 28px;
  line-height: 36.4px;
  color: #000;
}

.home-sec__card-title--bold {
  font-weight: 700;
}

.home-sec__br-m360 {
  display: none;
}

.home-sec__br-desk {
  display: block;
}

.home-sec__pill {
  align-self: flex-start;
  padding: 8px 12px;
  border-radius: 7px;
  background: linear-gradient(90deg, #5445c4 0%, #6a3c99 100%);
  font-family: "Manrope", Helvetica, sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 18px;
  white-space: nowrap;
  color: #fff;
}

.home-sec__pill--registry {
  font-weight: 800;
  font-size: 20px;
  line-height: 28px;
}

.home-sec__card-text {
  margin: 0;
  font-family: "Manrope", Helvetica, sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 28px;
  color: #424242;
}

.home-sec__card-text--medium {
  font-weight: 500;
}

@media (max-width: 1679px) and (min-width: 1025px) {
  .home-security {
    width: 1440px;
    height: 1718px;
    zoom: calc(100cqw / 1440px);
    margin-inline: 0;
    margin-bottom: 0;
  }

  .home-sec__header {
    top: 140px;
    left: 109px;
    width: 1240px;
  }

  .home-sec__title {
    font-size: 34px;
    letter-spacing: -0.68px;
    line-height: 34px;
  }

  .home-sec__grid {
    top: 242px;
    left: 77px;
    grid-template-columns: repeat(3, 402px);
    grid-template-rows: 430px 430px 430px;
    column-gap: 40px;
    row-gap: 20px;
    width: 1286px;
    height: 1330px;
  }

  .home-sec__card {
    gap: 30px;
    padding: 35px 30px;
    box-shadow: 0 0 15px #7366bd;
  }

  .home-sec__card--registry {
    padding: 0;
  }

  .home-sec__card--encryption {
    padding: 40px;
  }

  .home-sec__card--infrastructure {
    box-shadow: 0 0 15px #43328a;
  }

  .home-sec__registry-watermark {
    top: 46px;
    width: 416px;
    height: 234px;
  }

  .home-sec__registry-body {
    top: 333px;
    gap: 15px;
  }

  .home-sec__card-stack {
    gap: 30px;
  }

  .home-sec__card--monitoring .home-sec__card-stack,
  .home-sec__card--encryption .home-sec__card-stack {
    gap: 50px;
  }

  .home-sec__icon {
    width: 60px;
    height: 60px;
  }

  .home-sec__icon img {
    width: 35px;
    height: 35px;
  }

  .home-sec__icon--medal img {
    width: 45px;
    height: 45px;
  }

  .home-sec__icon--shield img,
  .home-sec__icon--users img,
  .home-sec__icon--refresh img,
  .home-sec__icon--flag img,
  .home-sec__icon--cloud img {
    width: 35px;
    height: 35px;
  }

  .home-sec__card-title {
    font-size: 26px;
    line-height: 1.3;
  }

  .home-sec__pill {
    font-size: 18px;
    line-height: 18px;
  }

  .home-sec__pill--registry {
    font-size: 18px;
    line-height: 1.4;
  }

  .home-sec__card-text {
    font-size: 18px;
    line-height: 1.4;
  }
}

@media (max-width: 1023px) and (min-width: 750px) {
  .home-security {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: unset;
    zoom: 1;
    margin-inline: 0;
    margin-bottom: 0;
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 80px;
    padding: 100px clamp(16px, 6.25vw, 48px);
    box-sizing: border-box;
    background: #fff;
    border-radius: 0 0 30px 30px;
  }

  .home-sec__header {
    position: static;
    top: auto;
    left: auto;
    width: 100%;
    max-width: 672px;
    z-index: 1;
  }

  .home-sec__title {
    font-size: 28px;
    letter-spacing: -0.56px;
    line-height: 1;
  }

  .home-sec__tagline {
    font-size: 16px;
    line-height: 1;
  }

  .home-sec__grid {
    position: static;
    top: auto;
    left: auto;
    width: 100%;
    max-width: 672px;
    height: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto auto auto auto auto;
    gap: 10px;
    align-items: stretch;
    filter: drop-shadow(0 0 15px #7366bd);
  }

  .home-sec__card {
    gap: 20px;
    padding: 20px 20px 28px;
    background: #fff;
    box-shadow: none;
    box-sizing: border-box;
    border-radius: 15px;
    min-height: 0;
    overflow: visible;
  }

  .home-sec__card--registry {
    grid-row: 1 / span 2;
    grid-column: 1;
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 726px;
    padding: 0 0 28px;
    background: linear-gradient(180deg, #fbfafe 0%, #eff3ff 100%);
    overflow: hidden;
  }

  .home-sec__card--monitoring {
    grid-row: 1;
    grid-column: 2;
    min-height: 358px;
  }

  .home-sec__card--encryption {
    grid-row: 2;
    grid-column: 2;
    min-height: 358px;
    padding: 20px 20px 28px;
  }

  .home-sec__card--access {
    grid-row: 3;
    grid-column: 1;
    min-height: 358px;
  }

  .home-sec__card--backup {
    grid-row: 3;
    grid-column: 2;
    min-height: 358px;
    background: #fff;
  }

  .home-sec__card--isolation {
    grid-row: 4;
    grid-column: 1 / span 2;
    min-height: 225px;
  }

  .home-sec__card--updates {
    grid-row: 5;
    grid-column: 1;
    min-height: 358px;
  }

  .home-sec__card--infrastructure {
    grid-row: 5;
    grid-column: 2;
    min-height: 358px;
    box-shadow: none;
  }

  .home-sec__registry-watermark {
    position: relative;
    top: 37px;
    left: auto;
    z-index: 0;
    display: block;
    width: 324px;
    max-width: calc(100% - 14px);
    height: 182px;
    margin: 0 auto 26px;
    transform: none;
    object-fit: contain;
    flex-shrink: 0;
  }

  .home-sec__registry-body {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    margin: 0 20px;
    padding: 0;
    gap: 20px;
    flex: 1;
  }

  .home-sec__card-stack {
    gap: 20px;
  }

  .home-sec__card--monitoring .home-sec__card-stack,
  .home-sec__card--encryption .home-sec__card-stack {
    gap: 20px;
  }

  .home-sec__icon {
    width: 60px;
    height: 60px;
  }

  .home-sec__icon img {
    width: 34px;
    height: 34px;
  }

  .home-sec__icon--medal img {
    width: 38px;
    height: 38px;
  }

  .home-sec__icon--shield img,
  .home-sec__icon--users img,
  .home-sec__icon--refresh img,
  .home-sec__icon--flag img,
  .home-sec__icon--cloud img {
    width: 35px;
    height: 35px;
  }

  .home-sec__content {
    gap: 15px;
  }

  .home-sec__card-title {
    font-size: 22px;
    line-height: 1.3;
  }

  .home-sec__card--access .home-sec__card-title {
    line-height: 1;
  }

  .home-sec__card--isolation .home-sec__card-title {
    font-size: 24px;
    line-height: 1;
  }

  .home-sec__pill {
    font-size: 16px;
    line-height: 1;
  }

  .home-sec__pill--registry {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.4;
  }

  .home-sec__card-text {
    font-size: 16px;
    line-height: 1.4;
  }
}

@media (max-width: 749px) {
  .home-security {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: unset;
    zoom: unset;
    margin-inline: 0;
    margin-bottom: 0;
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: calc(50 / 360 * 100cqi);
    /* Figma 4407:1069 — py 60; горизонталь на header/grid, чтобы cqi = 360 */
    padding: calc(60 / 360 * 100cqi) 0;
    box-sizing: border-box;
    background: #fff;
    border-radius: 0;
    container-type: inline-size;
    container-name: home-security;
  }

  .home-sec__header {
    position: static;
    top: auto;
    left: auto;
    z-index: 1;
    display: flex;
    flex-direction: column;
    /* Figma 4407:1070 — items-start, px 20 */
    align-items: flex-start;
    justify-content: flex-start;
    gap: calc(15 / 360 * 100cqi);
    width: 100%;
    max-width: none;
    padding: 0 calc(20 / 360 * 100cqi);
    box-sizing: border-box;
  }

  .home-sec__title {
    width: auto;
    font-size: 6.111cqi;
    letter-spacing: -0.122cqi;
    line-height: 1;
    text-align: left;
  }

  .home-sec__tagline {
    margin: 0;
    padding: calc(8 / 360 * 100cqi) calc(12 / 360 * 100cqi);
    border-radius: calc(7 / 360 * 100cqi);
    background: #edebff;
    font-size: 3.333cqi;
    line-height: 1;
    white-space: nowrap;
    color: #5e4ce0;
    text-align: left;
  }

  .home-sec__grid {
    position: static;
    top: auto;
    left: auto;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: calc(10 / 360 * 100cqi);
    width: calc(320 / 360 * 100%);
    max-width: none;
    height: auto;
    filter: drop-shadow(0 0 calc(10 / 360 * 100cqi) #43328a);
  }

  .home-sec__card {
    position: static;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: calc(20 / 360 * 100cqi);
    width: 100%;
    min-height: 0;
    height: auto;
    margin: 0;
    padding: calc(20 / 360 * 100cqi);
    border-radius: calc(10 / 360 * 100cqi);
    background: #fff;
    box-shadow: none;
    box-sizing: border-box;
    overflow: visible;
    grid-row: auto;
    grid-column: auto;
  }

  .home-sec__card--registry {
    gap: 0;
    padding: calc(20 / 360 * 100cqi) 0 calc(20 / 360 * 100cqi);
    min-height: 0;
    height: auto;
    background: linear-gradient(180deg, #fbfafe 73.472%, #eff3ff 100%);
    overflow: hidden;
  }

  .home-sec__card--monitoring,
  .home-sec__card--encryption,
  .home-sec__card--access,
  .home-sec__card--backup,
  .home-sec__card--isolation,
  .home-sec__card--updates,
  .home-sec__card--infrastructure {
    min-height: 0;
  }

  .home-sec__card--backup {
    background: #fff;
  }

  .home-sec__card--infrastructure {
    box-shadow: none;
  }

  .home-sec__registry-watermark {
    position: relative;
    top: auto;
    left: auto;
    z-index: 0;
    display: block;
    width: calc(219 / 360 * 100cqi);
    max-width: none;
    height: calc(123 / 360 * 100cqi);
    margin: 0 auto calc(11 / 360 * 100cqi);
    transform: none;
    object-fit: contain;
    flex-shrink: 0;
  }

  .home-sec__registry-body {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: calc(20 / 360 * 100cqi);
    width: calc(280 / 360 * 100cqi);
    margin: 0 calc(20 / 360 * 100cqi);
    padding: 0;
    flex: 0 1 auto;
    box-sizing: border-box;
  }

  .home-sec__card-stack {
    gap: calc(20 / 360 * 100cqi);
  }

  .home-sec__card--monitoring .home-sec__card-stack,
  .home-sec__card--encryption .home-sec__card-stack {
    gap: calc(20 / 360 * 100cqi);
  }

  .home-sec__icon {
    width: calc(50 / 360 * 100cqi);
    height: calc(50 / 360 * 100cqi);
    border-radius: calc(5 / 360 * 100cqi);
    background: #fff;
    box-shadow: 0 calc(9 / 360 * 100cqi) calc(15.3 / 360 * 100cqi) rgba(53, 1, 112, 0.15);
  }

  .home-sec__icon img {
    width: calc(26 / 360 * 100cqi);
    height: calc(26 / 360 * 100cqi);
  }

  .home-sec__icon--medal img {
    width: calc(29 / 360 * 100cqi);
    height: calc(29 / 360 * 100cqi);
  }

  .home-sec__icon--shield img,
  .home-sec__icon--cloud img,
  .home-sec__icon--users img,
  .home-sec__icon--refresh img {
    width: calc(28 / 360 * 100cqi);
    height: calc(28 / 360 * 100cqi);
  }

  .home-sec__icon--flag img {
    width: calc(29 / 360 * 100cqi);
    height: calc(29 / 360 * 100cqi);
  }

  .home-sec__content {
    gap: calc(15 / 360 * 100cqi);
  }

  .home-sec__br-m360 {
    display: block;
  }

  .home-sec__br-desk {
    display: none;
  }

  .home-sec__card-title {
    font-size: 4.444cqi;
    line-height: 1.2;
  }

  .home-sec__card--registry .home-sec__card-title--bold {
    font-weight: 600;
  }

  .home-sec__card--access .home-sec__card-title {
    line-height: 1.2;
  }

  .home-sec__card--isolation .home-sec__card-title {
    font-size: 4.444cqi;
    line-height: 1.2;
    white-space: nowrap;
  }

  .home-sec__card--backup .home-sec__card-title {
    white-space: nowrap;
  }

  .home-sec__card--infrastructure .home-sec__card-title {
    line-height: 1;
    white-space: nowrap;
  }

  .home-sec__card--monitoring .home-sec__card-title,
  .home-sec__card--encryption .home-sec__card-title {
    white-space: nowrap;
  }

  .home-sec__pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: calc(8 / 360 * 100cqi) calc(12 / 360 * 100cqi);
    border-radius: calc(7 / 360 * 100cqi);
    font-size: 3.333cqi;
    line-height: 1;
    text-align: center;
  }

  .home-sec__pill--registry {
    width: calc(98 / 360 * 100cqi);
    height: calc(25 / 360 * 100cqi);
    padding: 0 calc(12 / 360 * 100cqi);
    font-size: 4.444cqi;
    font-weight: 800;
    line-height: 1;
    box-sizing: border-box;
    color: #fff;
  }

  .home-sec__card-text {
    font-size: 3.333cqi;
    line-height: 1.3;
    color: #424242;
  }

  .home-sec__card--registry .home-sec__card-text--medium {
    font-weight: 400;
    width: 100%;
    max-width: calc(280 / 360 * 100cqi);
  }

  .home-sec__card--infrastructure .home-sec__card-text {
    line-height: 1.4;
  }
}
