/* Logos (TradeVista + Kritva) and the site footer (.kfoot). */
.logo .logo-img {
  display: block;
  width: 221px;
  height: 58px;
  background: url(../assets/images/logo-tradevista.png) left center/contain no-repeat;
}

@media (max-width: 560px) {
  .logo .logo-img {
    width: 168px;
    height: 44px;
  }
}

footer.kfoot {
  position: relative;
  overflow: hidden;
  margin-top: 40px;
  color: #23274A;
  border: 0;
  border-top: 1px solid rgba(156,163,220,.35);
  backdrop-filter: none;
  font-family: Poppins,system-ui,sans-serif;
  background: radial-gradient(900px 420px at 90% 0%,rgba(242,100,48,.08),transparent 60%),radial-gradient(800px 480px at 0% 100%,rgba(156,163,220,.20),transparent 60%),linear-gradient(135deg,#F4F5FC 0%,#EEF0FA 55%,#F7F2F4 100%);
}

.kf-wrap {
  position: relative;
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 44px;
}

.kf-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr .7fr 1.6fr;
  gap: 40px;
  padding: 56px 12px 56px;
}

.kf-logobox {
  display: inline-flex;
  align-items: center;
  margin-bottom: 22px;
}

.kfoot .kf-logobox .logo-img {
  width: 221px;
  height: 58px;
}

.kf-co p {
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 20px;
  color: #62667F;
}

.kf-co a {
  color: #363C80;
  font-weight: 500;
  white-space: nowrap;
}

.kf-co a:hover {
  color: #E0592A;
}

.kfoot h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #5560AE;
  margin: 8px 0 22px;
}

.kf-col a {
  display: block;
  font-size: 14.5px;
  font-weight: 500;
  color: #363C80;
  margin-bottom: 18px;
  transition: color .2s,transform .2s;
}

.kf-col a:hover {
  color: #E0592A;
  transform: translateX(3px);
}

.kf-sub h4 {
  margin-top: 8px;
}

.kf-sub-t {
  font-size: 15px;
  color: #62667F;
  margin-bottom: 22px;
}

.kf-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 6px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(156,163,220,.45);
  box-shadow: 0 12px 30px -18px rgba(54,60,128,.35);
  max-width: 460px;
}

.kf-form input {
  flex: 1 1 180px;
  min-width: 0;
  height: 46px;
  border-radius: 999px;
  border: 0;
  padding: 0 18px;
  font: inherit;
  font-size: 14.5px;
  color: #23274A;
  background: transparent;
  outline: none;
}

.kf-form button {
  height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg,#F26430,#F7A27E);
  color: #fff;
  font: inherit;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 20px -8px rgba(242,100,48,.6);
  transition: transform .2s;
}

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

.kf-note {
  font-size: 12.5px;
  line-height: 1.7;
  margin-top: 16px;
  color: #8A8EA6;
}

.kf-bot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 12px 30px;
  border-top: 1px solid rgba(156,163,220,.35);
}

.kf-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  font-size: 13.5px;
  color: #62667F;
}

.kf-legal a {
  color: #363C80;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.kf-legal a:hover {
  color: #E0592A;
}

.kf-li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(156,163,220,.45);
  color: #0A66C2;
  transition: background .2s,color .2s,transform .2s;
}

.kf-li svg {
  width: 17px;
  height: 17px;
}

.kf-li:hover {
  background: #0A66C2;
  color: #fff;
  transform: translateY(-2px);
}

@media (max-width: 1080px) {
  .kf-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .kf-wrap {
    padding: 0 16px;
  }
  .kf-top {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 40px 0 32px;
  }
  .kf-col a {
    margin-bottom: 12px;
  }
  .kf-bot {
    flex-direction: column;
    align-items: flex-start;
  }
}

.logo .logo-img.kr-logo {
  width: 204px;
  height: 44px;
  background-image: url(../assets/images/logo-kritva.png);
}

@media (max-width: 560px) {
  .logo .logo-img.kr-logo {
    width: 167px;
    height: 36px;
  }
}

/* K-mark alignment: Kritva K matches TradeVista K (53.7px, top 1px) */
.logo .logo-img.kr-logo,
.kfoot .kf-logobox .logo-img.kr-logo {
  width: 249px;
  height: 58px;
  background-size: 248.2px 53.7px;
  background-position: 0.4px 1px;
}

@media (max-width: 560px) {
  .logo .logo-img.kr-logo,
  .kfoot .kf-logobox .logo-img.kr-logo {
    width: 189px;
    height: 44px;
    background-size: 188.2px 40.7px;
    background-position: 0.3px 0.7px;
  }
}
