/* ==========================================================
   Saino Platform Pro - Footer v6.0.1 Stable
   Fiverr-inspired footer architecture, Saino-branded
   ========================================================== */

.saino-footer,
.saino-footer * {
  box-sizing: border-box;
}

.saino-footer {
  width: 100%;
  background: #fff;
  border-top: 1px solid #e4e5e7;
  margin-top: 32px;
  color: #404145;
  overflow: visible;
}

.saino-footer-container {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 48px 32px 24px;
}

/* Remove legacy/unwanted internal lines and pseudo lines */
.saino-footer hr,
.saino-footer::before,
.saino-footer::after,
.saino-footer *::before,
.saino-footer *::after {
  content: none !important;
  display: none !important;
}

.saino-footer *,
.saino-footer-bottom,
.saino-footer-right,
.saino-footer-left,
.saino-footer-social,
.saino-footer-control,
.footer-bottom,
.footer-meta,
.footer-social,
.footer-language,
.footer-currency {
  border: 0 !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

/* Top link columns */
.saino-footer-columns {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 42px;
  padding-bottom: 40px;
  border-bottom: 1px solid #e4e5e7 !important;
}

.saino-footer-section-title {
  width: 100%;
  padding: 0 0 16px;
  margin: 0;
  border: 0 !important;
  background: transparent;
  color: #222325;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: default;
}

.saino-footer-section-caret {
  display: none;
}

.saino-footer-section-links {
  display: grid;
  gap: 13px;
}

.saino-footer-section-links a {
  color: #74767e;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 400;
  text-decoration: none;
  transition: color .18s ease;
}

.saino-footer-section-links a:hover {
  color: #404145;
  text-decoration: underline;
}

/* Bottom row - Fiverr-like single line on desktop */
.saino-footer-bottom {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 40px !important;
  width: 100%;
  min-height: 70px;
  padding-top: 24px;
}

.saino-footer-left,
.saino-footer-right {
  display: flex !important;
  align-items: center !important;
}

.saino-footer-left {
  gap: 18px !important;
  flex: 0 0 auto;
  min-width: 0;
}

.saino-footer-right {
  justify-content: flex-end !important;
  gap: 20px !important;
  margin-left: auto;
  flex-wrap: nowrap !important;
}

.saino-footer-logo {
  display: inline-flex;
  align-items: baseline;
  color: #404145 !important;
  font-size: 34px !important;
  line-height: .9;
  letter-spacing: -2.4px;
  font-weight: 900 !important;
  text-decoration: none !important;
  white-space: nowrap;
}

.saino-footer-logo span {
  color: #1dbf73;
}

.saino-footer-copy {
  color: #74767e;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 400;
  white-space: nowrap;
}

.saino-footer-social {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 20px !important;
  flex: 0 0 auto;
}

.saino-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 28px;
  color: #74767e;
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  transition: color .18s ease, transform .18s ease;
}

.saino-footer-social a:hover {
  color: #404145;
  transform: translateY(-1px);
}

.saino-footer-dot {
  color: #c5c6c9;
  font-weight: 800;
}

.saino-footer-control {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.saino-footer-action,
.saino-footer-accessibility-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  height: 36px;
  padding: 0 6px !important;
  border: 0 !important;
  background: transparent !important;
  color: #74767e !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  cursor: pointer;
  white-space: nowrap;
  border-radius: 999px;
  transition: color .18s ease, background .18s ease;
}

.saino-footer-action:hover,
.saino-footer-accessibility-button:hover {
  color: #404145 !important;
  background: #f5f5f5 !important;
}

.saino-footer-accessibility-button {
  width: 36px;
  padding: 0 !important;
  font-size: 17px !important;
}

.saino-footer-action small {
  font-size: 10px;
  color: currentColor;
}

.saino-footer-menu {
  position: absolute;
  right: 0;
  bottom: 44px;
  min-width: 190px;
  padding: 8px;
  background: #fff;
  border: 1px solid #e4e5e7 !important;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0,0,0,.14) !important;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: .18s ease;
  z-index: 9999;
}

.saino-footer-control.is-open .saino-footer-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.saino-footer-menu button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 10px 11px;
  border: 0 !important;
  background: transparent;
  border-radius: 8px;
  color: #404145;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.saino-footer-menu button:hover {
  background: #f5f5f5;
}

body.saino-access-large {
  font-size: 112%;
}

body.saino-access-contrast {
  filter: contrast(1.08);
}

/* Prevent previous CTA / section spacing from pushing footer too low on mobile */
.saino-main > *:last-child,
.fmp-main > *:last-child,
.site-main > *:last-child {
  margin-bottom: 0 !important;
}

@media (max-width: 1024px) {
  .saino-footer-container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .saino-footer-columns {
    gap: 28px;
  }
}
