:root {
  --sw-footer-overlay: rgba(12, 12, 12, 0.7);
  --sw-footer-radius: 40px;
  --sw-footer-yellow: #fcd704;
  --sw-footer-yellow-dark: #bfae0a;
  --sw-footer-font: 'Montserrat', Arial, sans-serif;
}
.sw-footer {
  position: relative;
  width: 100%;
  min-height: 1000px;
  overflow: hidden;
  font-family: var(--sw-footer-font);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
}
.sw-footer__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 0;
}
.sw-footer__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: var(--sw-footer-overlay);
  z-index: 1;
}
.sw-footer__content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 0px;
  display: flex;
  flex-direction: column;
  gap: 120px;
  box-sizing: border-box;
}
.sw-footer__lead {
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding-top: 48px;
  padding-bottom: 32px;
}
.sw-footer__tag {
  background: #FCD7044D;
  color: #FCD704;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 14px;
  line-height: 1.4;
  border-radius: 20px;
  padding: 4px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  letter-spacing: 0;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
}
.sw-footer__tag:hover,
.sw-footer__tag:focus {
  background: #e3c1034D;
}
.sw-footer__title {
  font-family: 'Russo One', Arial, sans-serif;
  font-weight: 400;
  font-size: 36px;
  color: #F9F9F9;
  margin: 0;
}
.sw-footer__desc {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  letter-spacing: 0.01em;
  color: #F9F9F9;
  opacity: 0.6;
}
.sw-footer__form-vertical {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: none;
  align-items: stretch;
}
.sw-footer__fields-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: none;
}
.sw-footer__form-group {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
}
.sw-footer__input {
  width: 100%;
  padding: 28px 18px 12px 18px;
  font-size: 16px;
  font-family: var(--sw-footer-font);
  border: none;
  border-radius: 14px;
  background: #232323;
  color: #fff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px 0 #00000022;
  box-sizing: border-box;
}
.sw-footer__input.sw-footer__input--error {
  border: 2px solid #FF3B3B;
}
.sw-footer__label {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  line-height: 1.4;
  color: #B0B0B0;
  pointer-events: none;
  background: transparent;
  transition: all 0.2s cubic-bezier(.4,0,.2,1);
  z-index: 2;
  width: calc(100% - 36px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sw-footer__input:focus + .sw-footer__label,
.sw-footer__input.sw-footer__input--filled + .sw-footer__label {
  top: 8px;
  left: 16px;
  transform: none;
  font-size: 12px;
  color: #B0B0B0;
  background: transparent;
}
.sw-footer__input--error + .sw-footer__label,
.sw-footer__input--error:focus + .sw-footer__label,
.sw-footer__input--error.sw-footer__input--filled + .sw-footer__label {
  color: #FF3B3B !important;
}
.sw-footer__error {
  color: #ff4d4f;
  font-size: 13px;
  position: absolute;
  left: 24px;
  bottom: -18px;
  min-height: 16px;
}
.sw-footer__btn {
  font-family: var(--sw-footer-font);
  font-size: 16px;
  font-weight: 500;
  border-radius: 32px;
  padding: 14px 36px;
  border: none;
  background: var(--sw-footer-yellow);
  color: #232323;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
  min-width: 140px;
}
.sw-footer__btn:hover,
.sw-footer__btn:focus {
  background: var(--sw-footer-yellow-dark);
}
.sw-footer__btn--vertical {
  transition: background 0.2s, color 0.2s;
  width: 100%;
  box-shadow: 0 2px 8px 0 #00000022;
}
.sw-footer__btn--vertical:hover,
.sw-footer__btn--vertical:focus {
  background: var(--sw-footer-yellow-dark);
}
.sw-footer__bottom-panel {
  background: #171717CC;
  border-radius: 16px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  padding: 32px;
  box-sizing: border-box;
}
.sw-footer__logo {
  display: flex;
  align-items: center;
  height: 40px;
  width: 180px;
  padding: 0;
  outline: none;
  border: none;
}
.sw-footer__logo-img {
  width: 180px;
  height: 40px;
  background-image: url('<?php echo get_template_directory_uri(); ?>/assets/images/logo.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left center;
  display: block;
  margin: 0;
  padding: 0;
  outline: none;
  border: none;
}
.sw-footer__bottom-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 200px;
  max-width: 320px;
  gap: 4px;
}
.sw-footer__copyright {
  color: #D8D8D8;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  opacity: 0.6;
}
.sw-footer__madein {
  color: #D8D8D8;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  opacity: 0.6;
}
.sw-footer__studio-link {
  color: #FCD704;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s;
  text-decoration: none;
}
.sw-footer__studio-link:hover,
.sw-footer__studio-link:focus {
  color: #bfae0a;
}
.sw-footer__bottom-menus {
  display: flex;
  flex-direction: row;
  flex: 1 1 0;
  justify-content: flex-end;
  min-width: 0;
  gap: 32px;
}
.sw-footer__bottom-menu {
  min-width: 100px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.sw-footer__bottom-menu-title {
  color: #D8D8D8;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0;
  vertical-align: middle;
  opacity: 0.6;
}
.sw-footer__menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 4px;
  gap: 4px;
}
.sw-footer__menu-link {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #F9F9F9;
  text-decoration: none;
  transition: color 0.2s;
  border-radius: 8px;
  padding-top: 4px;
  display: inline-block;
}
.sw-footer__menu-link:hover,
.sw-footer__menu-link:focus {
  color: #D8D8D8;
  text-decoration: none;
  background: none;
}
.sw-footer__bottom-menu:last-child .sw-footer__menu-link {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  display: inline-block;
  word-break: break-all;
}

/* Mobile styles */
@media (max-width: 1050px) {
    .sw-footer {
      background: #000000 !important;
    }
    
    .sw-footer__bg {
      display: none;
    }
    
    .sw-footer__overlay {
      display: none;
    }
    
    .sw-footer__content {
      padding: 16px;
      gap: 64px;
    }
    
    .sw-footer__lead {
      max-width: none;
      padding-top: 48px;
      padding-bottom: 32px;
    }
    
    .sw-footer__title {
      font-size: 20px;
      line-height: 1.3;
    }
    
    .sw-footer__desc {
      font-size: 14px;
      line-height: 1.4;
    }
    
    .sw-footer__bottom-panel {
      flex-direction: column;
      gap: 32px;
      padding: 16px;
    }
    
    .sw-footer__bottom-left {
      min-width: auto;
      max-width: none;
      gap: 8px;
    }
    
    .sw-footer__bottom-menus {
      flex-direction: column;
      gap: 32px;
      justify-content: flex-start;
      align-items: flex-start;
    }
    
    .sw-footer__bottom-menu {
      min-width: auto;
      gap: 8px;
    }
    
    .sw-footer__menu-list {
      gap: 8px;
      margin-top: 4px;
    }
    
    .sw-footer__menu-link {
      font-size: 16px;
      font-weight: 500;
      padding-top: 4px;
      white-space: normal;
      word-wrap: break-word;
      overflow-wrap: break-word;
      hyphens: auto;
    }
    
    .sw-footer__bottom-menu:last-child .sw-footer__menu-link {
      white-space: normal;
      overflow: visible;
      text-overflow: unset;
      max-width: none;
      word-break: normal;
      word-wrap: break-word;
      overflow-wrap: break-word;
    }
}