/* SVR4U PHOX footer fix.
 * Hostiko-style footer rebuilt with PHOX-safe, self-contained CSS.
 * Avoids Bootstrap 4 row-cols/d-flex dependency inside PHOX.
 */

.svr4u-phox-hostiko-footer,
.svr4u-phox-hostiko-footer * {
  box-sizing: border-box;
}

.svr4u-phox-hostiko-footer {
  clear: both;
  width: 100%;
  margin: 0;
  padding: 0;
  background: #07133f;
  color: rgba(255,255,255,.86);
  overflow: hidden;
}

.svr4u-phox-hostiko-footer a {
  text-decoration: none !important;
}

.svr4u-phox-hostiko-footer .container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.svr4u-phox-hostiko-footer .svr4u-footer-cta {
  background: linear-gradient(90deg, #123fca 0%, #2868ff 100%);
}

.svr4u-phox-hostiko-footer .svr4u-footer-cta-inner {
  min-height: 122px;
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.svr4u-phox-hostiko-footer .svr4u-footer-cta h2 {
  margin: 0 0 10px;
  color: #ffffff !important;
  font-size: 34px;
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.svr4u-phox-hostiko-footer .svr4u-footer-cta p {
  margin: 0;
  color: rgba(255,255,255,.92) !important;
  font-size: 16px;
  line-height: 1.6;
}

.svr4u-phox-hostiko-footer .svr4u-footer-cta-action a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 182px;
  min-height: 54px;
  padding: 14px 34px;
  border: 2px solid rgba(255,255,255,.9);
  border-radius: 14px;
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  transition: all .15s ease-in-out;
}

.svr4u-phox-hostiko-footer .svr4u-footer-cta-action a:hover,
.svr4u-phox-hostiko-footer .svr4u-footer-cta-action a:focus {
  background: #ff9f1c;
  border-color: #ff9f1c;
  color: #111827 !important;
}

.svr4u-phox-hostiko-footer .svr4u-footer-main {
  background: #07133f;
}

.svr4u-phox-hostiko-footer .svr4u-footer-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 30px;
  padding: 66px 0 54px;
}

.svr4u-phox-hostiko-footer .svr4u-footer-col h4 {
  margin: 0 0 20px;
  color: #ff9f1c !important;
  font-size: 19px;
  line-height: 1.25;
  font-weight: 700;
}

.svr4u-phox-hostiko-footer .svr4u-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.svr4u-phox-hostiko-footer .svr4u-footer-col li {
  margin: 0 0 9px;
  padding: 0;
  color: rgba(255,255,255,.86) !important;
}

.svr4u-phox-hostiko-footer .svr4u-footer-col a,
.svr4u-phox-hostiko-footer .svr4u-footer-col li {
  font-size: 14px;
  line-height: 1.6;
}

.svr4u-phox-hostiko-footer .svr4u-footer-col a {
  color: rgba(255,255,255,.92) !important;
  transition: color .15s ease-in-out;
}

.svr4u-phox-hostiko-footer .svr4u-footer-col a:hover,
.svr4u-phox-hostiko-footer .svr4u-footer-col a:focus {
  color: #ff9f1c !important;
}

.svr4u-phox-hostiko-footer .svr4u-footer-contact {
  margin-top: 20px !important;
}

.svr4u-phox-hostiko-footer .svr4u-footer-contact li {
  position: relative;
  padding-left: 26px;
}

.svr4u-phox-hostiko-footer .svr4u-footer-contact i {
  position: absolute;
  left: 0;
  top: 4px;
  color: #ff9f1c !important;
  font-size: 14px;
}

.svr4u-phox-hostiko-footer .svr4u-footer-bottom {
  background: rgba(0,0,0,.18);
  border-top: 1px solid rgba(255,255,255,.08);
}

.svr4u-phox-hostiko-footer .svr4u-footer-bottom-inner {
  min-height: 64px;
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.svr4u-phox-hostiko-footer .copyrights {
  margin: 0;
  color: rgba(255,255,255,.75) !important;
  font-size: 13px;
  line-height: 1.6;
}

.svr4u-phox-hostiko-footer .svr4u-footer-bottom-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.svr4u-phox-hostiko-footer .choose-language,
.svr4u-phox-hostiko-footer .wdes-back-to-top {
  color: rgba(255,255,255,.88) !important;
}

.svr4u-phox-hostiko-footer .wdes-back-to-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
}

.svr4u-phox-hostiko-footer .wdes-back-to-top:hover {
  background: #ff9f1c;
  color: #111827 !important;
}

@media (max-width: 1199px) {
  .svr4u-phox-hostiko-footer .container {
    max-width: 960px;
  }
  .svr4u-phox-hostiko-footer .svr4u-footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .svr4u-phox-hostiko-footer .container {
    max-width: 720px;
  }
  .svr4u-phox-hostiko-footer .svr4u-footer-cta-inner {
    flex-direction: column;
    text-align: center;
  }
  .svr4u-phox-hostiko-footer .svr4u-footer-cta h2 {
    font-size: 28px;
  }
  .svr4u-phox-hostiko-footer .svr4u-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 48px 0 38px;
  }
}

@media (max-width: 575px) {
  .svr4u-phox-hostiko-footer .container {
    padding-left: 18px;
    padding-right: 18px;
  }
  .svr4u-phox-hostiko-footer .svr4u-footer-cta h2 {
    font-size: 24px;
  }
  .svr4u-phox-hostiko-footer .svr4u-footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .svr4u-phox-hostiko-footer .svr4u-footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}
