.cleverenceFooter {
  background-color: #06195e;
  color: #ffffff;
  padding: 3rem 0 1.5rem;
  margin-top: auto;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 500;
}

.footerContent {
  display: grid;
  grid-template-columns: 2fr 3fr;
  column-gap: 2rem;
  row-gap: 2rem;
  margin-bottom: 2rem;
}

/* Правый блок с тремя колонками */
.footerRightBlock {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.footerSectionWide {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contactsBlock {
  display: flex;
  flex-direction: column;
}

.contactsBlock h3 {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 1rem;
  margin-top: 0;
}

.contactsBlock p {
  color: #828cae;
  font-size: 1rem;
  font-weight: 400;
  margin: 0.5rem 0;
  line-height: 1.6;
}

.contactsBlock a {
  color: #828cae;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.2s;
}

.contactsBlock a:hover {
  color: #ffffff;
}

.downloadBlock {
  display: flex;
  flex-direction: column;
}

.downloadBlock h3 {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 1rem;
  margin-top: 0;
}

.downloadBlockRow {
  display: flex;
  flex-direction: row;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.logoWrap {
  margin-top: 0.5rem;
}

.innerLogo {
  display: inline-block;
}

.innerLogo img {
  height: 32px;
  width: auto;
  display: block;
}

.srcCompany {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  margin-top: 0.5rem;
}

.srcCompany a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.4;
  transition: color 0.2s;
}

.srcCompany a:hover {
  color: #828cae;
  text-decoration: underline;
}

.srcCompanyLogoLink {
  background-image: url('https://www.cleverence.ru/local/templates/cleverence_new/img/icons/download.png');
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 1.6rem;
  padding-left: 2rem;
}

.srcCompanyPdfLink {
  background-image: url('https://www.cleverence.ru/local/templates/cleverence_new/img/icons/pdf.png');
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 1.6rem;
  padding-left: 2rem;
}

.srcCompanyLogo,
.srcCompanyPdf {
  display: inline-block;
  line-height: 1.25;
}

.footerSection {
  display: flex;
  flex-direction: column;
}

.footerSection h3 {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 1rem;
  margin-top: 0;
}

.footerSection p {
  color: #828cae;
  font-size: 1rem;
  font-weight: 400;
  margin: 0.5rem 0;
  line-height: 1.6;
}

.footerSection a {
  color: #828cae;
  text-decoration: none;
  transition: color 0.2s;
}

.footerSection a:hover {
  color: #ffffff;
}

.footerSection ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footerSection ul li {
  margin-bottom: 0.5rem;
}

.footerSection ul li a {
  color: #828cae;
  font-size: 1rem;
  font-weight: 400;
  text-decoration: none;
  transition: color 0.2s;
}

.footerSection ul li a:hover {
  color: #ffffff;
}

.downloadButton {
  background-color: transparent;
  color: #ffffff;
  border: none;
  padding: 0;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  margin: 0;
  transition: background-color 0.2s;
  width: auto;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-sizing: border-box;
}

.downloadButton:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.downloadButton:focus {
  outline: none;
}

.footerBottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid #828cae;
  flex-wrap: wrap;
  gap: 1rem;
}

.footerBottomLeft {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footerBottomLeft p {
  color: #828cae;
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
}

.footerBottomLeft a {
  color: #828cae;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 400;
  transition: color 0.2s;
}

.footerBottomLeft a:hover {
  color: #ffffff;
}

.footerBottomRight {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footerBottomRight span {
  color: #828cae;
  font-size: 1rem;
  font-weight: 400;
}

.socialLinks {
  display: flex;
  gap: 0.75rem;
}

.socialLinks a {
  color: #828cae;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 400;
  padding: 0.5rem;
  transition: color 0.2s;
}

.socialLinks a:hover {
  color: #ffffff;
}

@media (max-width: 768px) {
  .footerContent {
    grid-template-columns: 1fr;
  }

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


.downloadButton img { height: 40px; width: auto; display: block; }
.socialLinks img { height: 32px; width: auto; display: block; }
.socialLinks { align-items: center; }
.downloadButton:focus { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 768px) { .footerRightBlock { grid-template-columns: 1fr; } }
